mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 00:33:17 +00:00
Removed comment in interactionCreate.js
This commit is contained in:
parent
c4fb1d5147
commit
a1d4e356a6
@ -3,7 +3,6 @@ import Discord from "discord.js";
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'interactionCreate',
|
name: 'interactionCreate',
|
||||||
async execute(client, interaction) {
|
async execute(client, interaction) {
|
||||||
/*if (!interaction.isCommand()) return;*/
|
|
||||||
|
|
||||||
const permissions = interaction.channel.permissionsFor(interaction.client.user);
|
const permissions = interaction.channel.permissionsFor(interaction.client.user);
|
||||||
if (!permissions.has('EMBED_LINKS')) return interaction.send(client.messages.noPermsEmbed);
|
if (!permissions.has('EMBED_LINKS')) return interaction.send(client.messages.noPermsEmbed);
|
||||||
|
Loading…
Reference in New Issue
Block a user