Skip to content

Commit b04735f

Browse files
committed
refactor: remove guildId from deployCommands function to streamline command deployment
1 parent a3ca10e commit b04735f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/util/deploy.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@ import { config } from '../env.js';
55
export async function deployCommands(): Promise<RESTPutAPIApplicationCommandsResult> {
66
const commandData = [...commands.values()].map((command) => command.data);
77

8-
const guildId = config.discord.serverId;
9-
108
const rest = new REST({ version: '10' }).setToken(config.discord.token);
119

12-
1310
const result = (await rest.put(
1411
Routes.applicationGuildCommands(config.discord.clientId, config.serverId),
1512
{

0 commit comments

Comments
 (0)