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 a3ca10e commit b04735fCopy full SHA for b04735f
src/util/deploy.ts
@@ -5,11 +5,8 @@ import { config } from '../env.js';
5
export async function deployCommands(): Promise<RESTPutAPIApplicationCommandsResult> {
6
const commandData = [...commands.values()].map((command) => command.data);
7
8
- const guildId = config.discord.serverId;
9
-
10
const rest = new REST({ version: '10' }).setToken(config.discord.token);
11
12
13
const result = (await rest.put(
14
Routes.applicationGuildCommands(config.discord.clientId, config.serverId),
15
{
0 commit comments