* fmt
* refactor(util): change arg order for COMMANDS_GUILD_ID
* refactor(handlers): change arg order for COMMANDS_GUILD_ID
* feat(handlers): add getSlashCommand function
* Update mod.ts
* remove that
* add(bot): ApplicationID let & setApplicationID function
* fix(controllers): set application id when bot is ready
* refactor(util): rename botID argument to applicationID
* fix(handlers): use applicationID
* feat(handlers): add getGatewayBot()
* refactor(bot): use getGatewayBot() to get gateway data
* feat(handlers): add getApplicationInformation
* add(handlers): getApplicationInformation jsdoc
* Add oauth required types
* create separate file
* delete misc
* OAuthApplication
* forgot to update import
* idk why that was here
* Fix permissions (sorry my ide changed & to &&)
* Change botHasChannelPermissions to async.
This seems to have fixed my issue for my bot
* Remove async for botHasChannelPermissions
* Add async back for botHasChannelPermissions since it doesn't work without it
* Remove async, the issues were something else apparently
* Added await in async function, fixed typos and used inline variable for return
* Added await in async function, fixed typos and used inline variable for return
* Revert "Added await in async function, fixed typos and used inline variable for return"
This reverts commit f31caf5d
* Added await in async function, fixed typos and used inline variable for return
* Fixes format
* Fixes format 2
* Fixes format 4475757
* Fixes format 878757854786312378657865785785785785
* Change return to await
* Fixing more issues
* Fixing even more issues
* Fixing even more issues +
* Fixes format
* start slash commands
* lil bit of this
* a little bit of that
* chore: add slash commands' types (#249)
* Add slash Types
* style: format source files
* interaction create event
* make it a valid controller
* respond to a slash command
* interactions
* shtuff
* gotta get them all
* you gotta hit the bullseye
* you gotta survive
* most important thing i forgot
* please keep this
* more shuttttfgvuasdafwesdvjzdk
* more endpoints
* TYPO
* making that party jam
* this is my jam
* refactor: move slash commands types to webhook.ts (#250)
* Move Types
* Move to webhook.ts types file
* Update webhook.ts
* fix: update ExecuteSlashCommandOptions (#252)
* Move Types
* idk
* Remove Unnecessary Comment
* details
* http side of slash
* Format
* idk
* cleanup
* fmt
* fix imports
* tet
* remove log
* Update interactions.ts
* Update interactions.ts
* Update interactions.ts
* Use tweetnacl_deno for verification
* chore: move tweetnacl import to deps.ts
* Update deps.ts
* deps: use tweetnacl from GitHub
* fix: use serverOptions.slashHexKey
* fix: res -> req
* fix: use TextEncoder
* deps: add std@0.81.0/encoding/hex.ts
* chore: use encode() from std/encoding/hex.ts
* I am using the GitHub online editor pls help
* Update deps.ts
* Update interactions.ts
* Update interactions.ts
* Update interactions.ts
* Update interactions.ts
* fix: respond with 400 if timestamp and signature not present
* style: format files
* refactor!: merge createServer() into startServer()
* style: format files
Co-authored-by: ITOH <72305210+itohatweb@users.noreply.github.com>
Co-authored-by: ayntee <ayyantee@gmail.com>