update
This commit is contained in:
parent
0910992bdf
commit
5d5c9e9a48
@ -27,11 +27,11 @@ module.exports = async (client) => {
|
|||||||
|
|
||||||
// Slash Commands Register
|
// Slash Commands Register
|
||||||
client.on("ready", async () => {
|
client.on("ready", async () => {
|
||||||
// Register for a single guild
|
// // Register for a single guild
|
||||||
await client.guilds.cache.get("GUIDIDHERE").commands.set(arrayOfSlashCommands);
|
// await client.guilds.cache.get("GUIDIDHERE").commands.set(arrayOfSlashCommands);
|
||||||
|
|
||||||
// Register for all the guilds the bot is in
|
// 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