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 f1b494d commit 5731b7fCopy full SHA for 5731b7f
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "opcommands",
3
- "version": "1.0.0",
+ "version": "1.0.1",
4
"description": "An advanced Discord.js Command Handler that supports slash commands and more!",
5
"main": "src/OPCommands.js",
6
"scripts": {
src/handlers/Command.js
@@ -41,7 +41,7 @@ class CommandHandler {
41
(async () => {
42
try {
43
await rest.put(
44
- Routes.applicationGuildCommands(_this.client.application?.id, "678352388251451433"),
+ Routes.applicationCommands(_this.client.application?.id),
45
{ body: _this.client.commands },
46
);
47
} catch (error) {
0 commit comments