mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 08:22:22 +02:00
AAAAAAH
This commit is contained in:
@@ -26,7 +26,7 @@ module.exports = class PruneCommand 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