User Permissions
In the User Roles chapter we used the role for verifying if the user could use our KickCommand.
If you don't care the role of the user but you care if he have the permissions for kicking a user, then you can refactor the KickCommand for only requiring the user to have the permission for kicking members.
Refactoring KickCommand#
path/to/your/app/src/Commands/KickCommand.ts