refactor(util): COMMANDS_GUILD_ID constant arg order (#440)

* 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
This commit is contained in:
ITOH
2021-01-24 12:12:40 +01:00
committed by GitHub
parent e952d1d9cb
commit 51387c5705
3 changed files with 10 additions and 7 deletions
+1 -1
View File
@@ -143,8 +143,8 @@ export const endpoints = {
`${baseEndpoints.BASE_URL}/applications/${applicationID}/commands/${commandID}`,
COMMANDS_GUILD_ID: (
applicationID: string,
commandID: string,
guildID: string,
commandID: string,
) =>
`${baseEndpoints.BASE_URL}/applications/${applicationID}/guilds/${guildID}/commands/${commandID}`,