Skip to content

Commit 5942b28

Browse files
committed
fixed loading commands - BUMP VID
1 parent 4c09709 commit 5942b28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/loadCommands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export async function loadCommands(): Promise<void> {
7979
logger.info("Loading Global commands...");
8080
await rest.put(
8181
Routes.applicationCommands(process.env.CLIENT_ID!),
82-
{ body: commandData }
82+
{ body: commandData.filter((command) => command.name != "reload")} // load all, except reload
8383
);
8484
if (process.env.MASTER_GUILD) {
8585
await rest.put(

0 commit comments

Comments
 (0)