mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-11 13:56:15 +00:00
fix(bot-discord): dum
This commit is contained in:
@@ -5,7 +5,7 @@ import muteMember from '../utils/muteMember.js';
|
||||
export default {
|
||||
name: 'exile',
|
||||
async execute(msg, args, config) {
|
||||
if (!checkForPerms(config, message.member)) return msg.reply('You don\'t have the permission to do this.');
|
||||
if (!checkForPerms(config, msg.member)) return msg.reply('You don\'t have the permission to do this.');
|
||||
|
||||
if (!msg.reference) return msg.reply('You did not reply to anyone!');
|
||||
const referencedMsg = await msg.channel.messages.fetch(msg.reference.messageId);
|
||||
|
||||
Reference in New Issue
Block a user