This commit is contained in:
Raven Scott 2022-09-22 12:01:36 -04:00
parent 0910992bdf
commit 5d5c9e9a48

View File

@ -27,11 +27,11 @@ module.exports = async (client) => {
// Slash Commands Register
client.on("ready", async () => {
// Register for a single guild
await client.guilds.cache.get("GUIDIDHERE").commands.set(arrayOfSlashCommands);
// // Register for a single guild
// await client.guilds.cache.get("GUIDIDHERE").commands.set(arrayOfSlashCommands);
// Register for all the guilds the bot is in
// await client.application.commands.set(arrayOfSlashCommands);
await client.application.commands.set(arrayOfSlashCommands);
});
};