mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
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:
@@ -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}`,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user