We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44b67a4 commit ea7b573Copy full SHA for ea7b573
src/deploy-commands.ts
@@ -11,7 +11,7 @@ const commandData = Object.values(commands).map(command => command.data);
11
console.log(`Started refreshing ${commandData.length} application (/) commands.`);
12
13
// The put method is used to fully refresh all commands in the guild with the current set
14
-const data: Array<Record<string, unknown>> = await rest.put(
+const data: any = await rest.put(
15
Routes.applicationGuildCommands("1063886601165471814", config.serverId), // TODO: guess client ID from token
16
{ body: commandData },
17
);
0 commit comments