Add docker build files and set chat default settings via exposed env vars

This commit is contained in:
GooeyTuxedo
2023-04-07 14:27:13 -07:00
parent e3c5341561
commit 4518df8312
4 changed files with 46 additions and 3 deletions

View File

@ -30,6 +30,9 @@ module.exports = async (client) => {
// // Register for a single guild
// await client.guilds.cache.get("GUIDIDHERE").commands.set(arrayOfSlashCommands);
// Clear previous commands (for changes to installed models)
await client.application.commands.set([]);
// Register for all the guilds the bot is in
await client.application.commands.set(arrayOfSlashCommands);
});