Skip to content

Commit d1adb45

Browse files
committed
chore: remove unused commented out code from deploy.ts
1 parent 5fa1596 commit d1adb45

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

src/util/deploy.ts

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,3 @@
1-
// import { URL } from 'node:url';
2-
// import { API } from '@discordjs/core/http-only';
3-
// import { REST } from 'discord.js';
4-
// import { config } from '../env.js';
5-
// import { getCommands } from './loaders.js';
6-
7-
// const commands = await getCommands(new URL('../commands/', import.meta.url));
8-
// const commandData = [...commands.values()].map((command) => command.data);
9-
10-
// const rest = new REST({ version: '10' }).setToken(config.discord.token);
11-
// const api = new API(rest);
12-
13-
// const result = await api.applicationCommands.bulkOverwriteGlobalCommands(
14-
// config.discord.clientId,
15-
// commandData
16-
// );
17-
18-
// console.log(`Successfully registered ${result.length} commands.`);
19-
201
// deploy.ts
212
import { URL } from 'node:url';
223
import { API } from '@discordjs/core/http-only';

0 commit comments

Comments
 (0)