diff --git a/src/bot.ts b/src/bot.ts index 6f13786..a547372 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -24,7 +24,8 @@ export class UEMEloBot extends Client { if (!interaction.isChatInputCommand()) return; - // TODO only continue to uem server + if (interaction.guildId !== process.env["GUILD_ID"]) + return; let commandName = interaction.commandName; let command = this.commands.get(commandName) as Command;