Updated check.js

This commit is contained in:
Christer Warén 2021-08-19 01:59:55 +03:00
parent 97317449f9
commit 4b10736508

View File

@ -1,4 +1,4 @@
module.exports = function (client, msg, command) { module.exports = function (client, interaction, command) {
let message = {}; let message = {};
const radio = client.radio.get(interaction.guild.id); const radio = client.radio.get(interaction.guild.id);
const permissions = interaction.channel.permissionsFor(interaction.user); const permissions = interaction.channel.permissionsFor(interaction.user);