Skip to content

Commit 5731b7f

Browse files
🚀 v1.0.1: Fix Slash Commands Deploy
1 parent f1b494d commit 5731b7f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "opcommands",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "An advanced Discord.js Command Handler that supports slash commands and more!",
55
"main": "src/OPCommands.js",
66
"scripts": {

src/handlers/Command.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class CommandHandler {
4141
(async () => {
4242
try {
4343
await rest.put(
44-
Routes.applicationGuildCommands(_this.client.application?.id, "678352388251451433"),
44+
Routes.applicationCommands(_this.client.application?.id),
4545
{ body: _this.client.commands },
4646
);
4747
} catch (error) {

0 commit comments

Comments
 (0)