Skip to content

Group Commands

J Arun Mani edited this page Sep 9, 2020 · 2 revisions

The following commands are available in groups. Unless otherwise stated, the person sending the command should be an admin. Most of the commands require it to be a reply to some other message, so be aware. Commands sent in private group and gateway group are deleted automatically by the bot. This keeps the chat neat.

/approve

Send this command as a reply to a message send by a user. Then the user is approved and are eligible to get the private group's invite link. This command is not available in private group.

/clean

Removes all the users who are in gateway group for more than clean interval time. A report message is sent to moderation group about how many users were removed. This job is automatically done by the bot at every clean interval, so use this command for force clean. This command is not available in private group.

/clear

Deletes all the messages from reply message to this command message. This is helpful in flushing old or spam messages.

/explain

Sends the prompt messages to the user in reply message. This command is not available in private group.

/ignore

Ignores the user of reply message. Ignoring means, the user won't be part of remind-clean cycle. A simple use case is a new admin who is added to gateway group.

/link

Sends the invite link to user of reply message (if they are approved) or asks them to prove their eligibility (if they are unapproved). If you want to approve and send link at the same time, use /approve. Still, this message is useful sometimes. This command is not available in private group.

/remind

Reminds all the users in gateway who are there for more than half of clean interval time. A report message is sent to moderation group about how many users were notified. This job is automatically done by the bot at every half of clean interval time, so use this command for force reminder. This command is not available in private group.

/restrict

Deletes the reply message and bans the user in reply.

/revoke

Refreshes the invite link. The invite link is automatically refreshed at every refresh interval, so this command is useful for forcible refresh.

/start

Sends a basic message. Useful if you want to know whether the bot is alive.

Clone this wiki locally