This commit is contained in:
2025-06-26 22:24:19 +02:00
parent 790014558e
commit e51fe3fc38
+1 -12
View File
@@ -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;
}