aaaaaaaaaaaaaaaaaa
This commit is contained in:
parent
78c732a002
commit
cfd972557d
|
@ -2,7 +2,7 @@
|
|||
"name": "discord-button-roles",
|
||||
"version": "1.0.0",
|
||||
"main": "dist/index.js",
|
||||
"author": "@sapphire",
|
||||
"author": "SadlyNotSappho",
|
||||
"license": "LGPL-3.0",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
|
|
|
@ -14,7 +14,7 @@ export class UserCommand extends Command {
|
|||
.setDescription(this.description);
|
||||
},
|
||||
{
|
||||
guildIds: ['1030563119132594187']
|
||||
// guildIds: []
|
||||
// idHints: []
|
||||
}
|
||||
);
|
||||
|
|
|
@ -19,5 +19,9 @@ export class UserCommand extends Command {
|
|||
}
|
||||
]}]
|
||||
});
|
||||
|
||||
await message.guild?.commands.fetch()
|
||||
|
||||
console.log('message.guild.commands.cache, after fetching:', message.guild?.commands.cache)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue