forked from snxraven/rai-serge-discord-bot
random update
This commit is contained in:
@ -30,9 +30,8 @@ module.exports = async (client) => {
|
||||
// // Register for a single guild
|
||||
// await client.guilds.cache.get("GUIDIDHERE").commands.set(arrayOfSlashCommands);
|
||||
|
||||
// Clear previous commands (for changes to installed models)
|
||||
await client.application.commands.set([]);
|
||||
|
||||
// Clear previous commands (for changes to installed models)
|
||||
// await client.application.commands.set([]);
|
||||
|
||||
// Register for all the guilds the bot is in
|
||||
await client.application.commands.set(arrayOfSlashCommands);
|
||||
|
Reference in New Issue
Block a user