From c2fa7367f9ebb67b604291f274fc01e52894dad4 Mon Sep 17 00:00:00 2001 From: Xargana Date: Thu, 17 Apr 2025 16:50:12 +0300 Subject: [PATCH] omg --- discord/classes/Bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/classes/Bot.js b/discord/classes/Bot.js index c81a393..583f35b 100644 --- a/discord/classes/Bot.js +++ b/discord/classes/Bot.js @@ -96,7 +96,7 @@ class Bot { // Interaction event this.client.on("interactionCreate", async (interaction) => { // Only process commands if the user is authorized - if (interaction.user.id !== this.authorizedUserId) { + if (!this.authorizedUserIds.includes(interaction.user.id)) { console.log(`Unauthorized access attempt by ${interaction.user.tag} (${interaction.user.id})`); await interaction.reply({ content: "You are not authorized to use this bot.",