mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 08:14:47 +02:00
AAAAAAH
This commit is contained in:
@@ -27,7 +27,7 @@ module.exports = class WarnCommand extends Command {
|
||||
}
|
||||
|
||||
hasPermission(msg) {
|
||||
return msg.member.has('MANAGE_MESSAGES');
|
||||
return msg.member.permissions.has('MANAGE_MESSAGES');
|
||||
}
|
||||
|
||||
async run(message, args) {
|
||||
|
||||
Reference in New Issue
Block a user