We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e659d1b commit f178233Copy full SHA for f178233
handler/index.js
@@ -40,8 +40,11 @@ module.exports = async (client) => {
40
arrayOfSlashCommands.push(file);
41
});
42
client.on("ready", async () => {
43
- const guild = client.guilds.cache.get("969944638498680872");
44
- guild.commands.set([]);
+ const guild1 = client.guilds.cache.get("969944638498680872");
+ guild1.commands.set([]);
45
+
46
+ const guild2 = client.guilds.cache.get("427865794467069962");
47
+ guild2.commands.set([]);
48
49
// Register for all the guilds the bot is in
50
await client.application.commands.set(arrayOfSlashCommands);
0 commit comments