Removed comment in interactionCreate.js

This commit is contained in:
Christer Warén 2021-09-02 13:12:52 +03:00
parent c4fb1d5147
commit a1d4e356a6

View File

@ -3,7 +3,6 @@ import Discord from "discord.js";
module.exports = {
name: 'interactionCreate',
async execute(client, interaction) {
/*if (!interaction.isCommand()) return;*/
const permissions = interaction.channel.permissionsFor(interaction.client.user);
if (!permissions.has('EMBED_LINKS')) return interaction.send(client.messages.noPermsEmbed);