adding ephemeral support

This commit is contained in:
Raven Scott
2022-09-28 17:58:24 -04:00
parent f76e482f60
commit f15c2786a6
3 changed files with 43 additions and 4 deletions

View File

@ -30,6 +30,7 @@ module.exports = async (client) => {
// // Register for a single guild
// await client.guilds.cache.get("GUIDIDHERE").commands.set(arrayOfSlashCommands);
console.log(arrayOfSlashCommands)
// Register for all the guilds the bot is in
await client.application.commands.set(arrayOfSlashCommands);
});