Telegram-SpottedDMI-Bot icon indicating copy to clipboard operation
Telegram-SpottedDMI-Bot copied to clipboard

Implementation of /mute command to mute a user for a defined time

Open drendog opened this issue 2 years ago • 0 comments

To improve channel management and prevent the sending of inappropriate messages, we can implement the /mute command that allows us to mute a user for a specific period of time.

The /mute command should work as follows:

  • Only channel administrators should be able to use the /mute command.
  • An administrator can mute a specific user using the command /mute @username <time>, where 'time' represents the duration for which the user will be muted (e.g., /mute @misorotterdam 1h mutes user @misorotterdam for 1 hour).
  • An administrator can mute a specific user using the command /mute <time> by replying the specific message.

drendog avatar Mar 28 '23 22:03 drendog