only one guild

sql-php-refactoring
Benjamin Kraft 3 months ago
parent 9471836129
commit 1b09e466e2
  1. 3
      src/bot.ts

@ -24,7 +24,8 @@ export class UEMEloBot extends Client {
if (!interaction.isChatInputCommand()) if (!interaction.isChatInputCommand())
return; return;
// TODO only continue to uem server if (interaction.guildId !== process.env["GUILD_ID"])
return;
let commandName = interaction.commandName; let commandName = interaction.commandName;
let command = this.commands.get(commandName) as Command; let command = this.commands.get(commandName) as Command;

Loading…
Cancel
Save