From e51fe3fc3888b9b964482ef1bc71ff92a3bfafe5 Mon Sep 17 00:00:00 2001 From: SiskelDev Date: Thu, 26 Jun 2025 22:24:19 +0200 Subject: [PATCH] Bug Fix --- bot.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/bot.js b/bot.js index 7dceb36..e0e3d43 100644 --- a/bot.js +++ b/bot.js @@ -65,17 +65,6 @@ client.once(Discord.Events.ClientReady, readyClient => { }); }); -client.on('interactionCreate', async (interaction) => { - if (!interaction.isCommand) return; - - if (interaction.commandName === "request" && interaction.channelId == 1230998916074311680) { - const fetch = require('node-fetch'); - - const category = interaction.options.getString("categorie"); - const film = interaction.options.getString('name'); - } -}); - client.on(Events.MessageCreate, async (message) => { if (message.channelId == 1288954051261632532 && message.content.toLowerCase() == "ping") { message.reply("Pong!"); @@ -252,7 +241,7 @@ client.on(Events.MessageReactionAdd, async (reaction, user, channel) => { client.on('interactionCreate', async (interaction) => { if (!interaction.isChatInputCommand()) return; - if (interaction.user.id !== 277357956075356162 || interaction.user.id !== 241530175353782273) { + if (interaction.user.id !== "277357956075356162" || interaction.user.id !== "241530175353782273") { return; }