I tried to check if a member have the permission for execute a kick command. So the permission is kickMembers, I use permissions: ['kickMembers'] but everyone can execute the command. That's doesn't working for the botPerms: ['kickMembers'] too. That's my full code : https://gist.github.com/itskiru/6e8e5c09cc36fd025fdae01a9deda6cd
Hello,
I tried to check if a member have the permission for execute a kick command. So the permission is
kickMembers
, I usepermissions: ['kickMembers']
but everyone can execute the command. That's doesn't working for thebotPerms: ['kickMembers']
too. That's my full code : https://gist.github.com/itskiru/6e8e5c09cc36fd025fdae01a9deda6cdThanks.
*Edit: Change the link of the full code