ItsDrike / CommandBot

Discord Bot which can handle most administrative tasks for servers.
Other
0 stars 0 forks source link

Allow clear command only for Manage Messages #37

Open ItsDrike opened 4 years ago

ItsDrike commented 4 years ago

It doesn't make sense to allow !clear command in channels where staff members shouldn't be allowed to (when they don't have Manage Messages permission)

There should be a check which only allows using !clear if you have sufficient permissions in that channel

ItsDrike commented 4 years ago

The !clear command should also be reworked to clear messages in multiple set of passed channels, but take the current channel as the default.