diff --git a/src/index.js b/src/index.js index 1956a38..597fd32 100644 --- a/src/index.js +++ b/src/index.js @@ -145,17 +145,6 @@ bot.on("messageReactionAdd", async (msg, reaction, reactor) => { }); bot.on("interactionCreate", async (interaction) => { try { - if (!(interaction.channel instanceof Dysnomia.Channel)) { - const newChannel = hf.bot.getChannel(interaction.channel.id); - if (newChannel) { - interaction.channel = newChannel; - } else { - interaction.channel = await hf.bot.getRESTChannel( - interaction.channel.id - ); - } - } - await InteractionDispatcher(interaction); } catch (err) { const stack = (err?.stack ?? err.message).split("\n");