forked from snxraven/DiscordJS-v14-Template
update
This commit is contained in:
parent
0910992bdf
commit
5d5c9e9a48
@ -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);
|
||||
});
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user