Open
Description
Add a /debug
command. It can be used for purposes such as viewing permissions of the bot, or viewing hub details of an inputted channel.
- It should accept any channel, server+user and hub ID
- It should show channel permissions for the bot, this will be of use when providing support to users where they might have given the bot incorrect permissions.
- It should be able to provide details about permissions a user has in a particular server
- It should show what position a user has in a hub. (eg. hub manager, or network_moderator)
- It should show details about a hub
The command must only be available to staff. Utilize checkIfStaff()
util function to check if person using the command is staff or not. The command may be split into subcommands as well.