The staff members should be able to mute whole channels while resolving some issue, this can be helpful to prevent spam from other users and to force others to read their messages before they get lost in the chat.
Staff should only be able to do this in certain channels (possibly the ones they have manage messages permission for) to prevent this from happening on protected channels.
Staff Members should still have a right to talk in that channel.
The command for this can be something like this: !mutechannel [time] where time will specify the duration for which the channel will be muted (it is probably a good idea to also put a restriction on maximum mute time in case this should ever be abused)
There can be an override to this maximum mute duration, but only MODERATION ROLES should have access to this.
The implementation shouldn't be too hard as it is possible to change the permissions for @everyone in specified channel to disallow sending messages, which can then be undone (a timer can be set up using the asyncio library).
The staff members should be able to mute whole channels while resolving some issue, this can be helpful to prevent spam from other users and to force others to read their messages before they get lost in the chat.
Staff should only be able to do this in certain channels (possibly the ones they have manage messages permission for) to prevent this from happening on protected channels.
Staff Members should still have a right to talk in that channel.
The command for this can be something like this:
!mutechannel [time]
where time will specify the duration for which the channel will be muted (it is probably a good idea to also put a restriction on maximum mute time in case this should ever be abused)There can be an override to this maximum mute duration, but only MODERATION ROLES should have access to this.
The implementation shouldn't be too hard as it is possible to change the permissions for
@everyone
in specified channel to disallow sending messages, which can then be undone (a timer can be set up using theasyncio
library).