random update

This commit is contained in:
Raven Scott
2023-04-08 03:10:02 +02:00
parent cfa2230986
commit 6435e059ad
2 changed files with 3 additions and 5 deletions

View File

@ -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);