add global command to guilds/debug global commands

This commit is contained in:
SowinskiBraeden committed 2022-09-01 15:33:14 -07:00
1 parent 261c2c60a3
commit 3ec70dcd54
5 files changed
+12 -15

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ module.exports = {
for (const file of commandFiles) {
const command = require(`../commands/${file}`);
if (!command.global) commands.push(command);
commands.push(command); // Include global commands in guild
}
const rest = new REST({ version: '10' }).setToken(client.config.Token);