mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -66,10 +66,10 @@ module.exports = class HelpCommand extends Command {
|
||||
return msg.reply('Failed to send DM. You probably have DMs disabled.');
|
||||
}
|
||||
}
|
||||
const userPerms = command.userPermissions
|
||||
const userPerms = command.userPermissions.length
|
||||
? command.userPermissions.map(perm => permissions[perm]).join(', ')
|
||||
: 'None';
|
||||
const clientPerms = command.clientPermissions
|
||||
const clientPerms = command.clientPermissions.length
|
||||
? command.clientPermissions.map(perm => permissions[perm]).join(', ')
|
||||
: 'None';
|
||||
return msg.say(stripIndents`
|
||||
|
||||
Reference in New Issue
Block a user