Banning with Cosmobot

Auto-banning

Whenever an account joins a group with a name like 'help desk', 'support', 'admin', it will be globally banned immediately. The full list of auto-banned combinations can be found by sending the command #showautoban in DM to Cosmobot (accessible to elevated Cosmobot users only).

#showautoban

Global banning

When you use a Cosmobot ban command, the account will be banned from every chat where Cosmobot is employed.

There are 3 ways to globally ban scammers and bots. Their commands are different - #ban, #gban, and #cban - but all result in the accounts being banned globally across Cosmobot chats. These bans should be reserved for accounts that you are certain are scammers or bots. Users that you want banned from your group only should be removed with normal Telegram methods (right-click on a message and ban, or remove from the members list).

Banning through a message in the group chat

You can reply to a scammer’s message in the group with #gban or #q to delete the message and globally ban. It will first ban from the group where the message was sent, and follow with banning it globally.

#gban
#q

Body frame

Banning in DM with Cosmobot

If Cosmobot has "seen" the account, you can DM cosmobot #ban [Telegram user ID] to ban them. For example:

#ban 123465676

Body frame

See this to learn how to obtain user ids.

See this to learn how to make Cosmobot "see" user account.

Banning a collection of accounts at once

Often accounts join groups in batches, and are able to pass the captcha. When it is obvious that these accounts are bots (similar names, usernames or profile pictures), you can copy their account IDs and use a collective ban - #cban ID,ID,ID.

#cban 123465676,234656762,3465676

Body frame

See this to learn how to obtain user ids.

See this to learn how to make Cosmobot "see" user account.

Global unbanning

Occasionally people find themselves globally banned by mistake. To unban them, forward their message to Cosmobot to get the 'global ban / global unban' buttons to appear. You can also type the command #unban ID in DM with Cosmobot to unban them. Cosmobot will take some time to respond as he unbans across every chat, but will eventually respond with a notification, provided you have not disabled notifications.

#unban 548256365

Body frame

Ban immunity

Elevated users are immune to ban with Cosmobot. If a real user gets auto-banned because of name or if there is another legitimate reason to make a user immune to bans with Cosmobot - it can be done with #addwluser command:

#addwluser|id:770910009

Body frame

See this to learn how to obtain user ids.