Skip to content

Commit ea7b573

Browse files
committed
chore: fix type error in deploy-commands
1 parent 44b67a4 commit ea7b573

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/deploy-commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const commandData = Object.values(commands).map(command => command.data);
1111
console.log(`Started refreshing ${commandData.length} application (/) commands.`);
1212

1313
// 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(
14+
const data: any = await rest.put(
1515
Routes.applicationGuildCommands("1063886601165471814", config.serverId), // TODO: guess client ID from token
1616
{ body: commandData },
1717
);

0 commit comments

Comments
 (0)