Autoban Command
Autoban automatically bans specific users the moment they join your chat. This is useful for keeping repeat trolls out without needing to be online.
Who can use it?
Only the chat owner (or the bot owner) can use !autoban.
If you are not the chat owner, the bot will tell you that you can’t use the command.
Command Usage
!autoban <id> <hours> <reason>!autoban list!autoban remove <id>- Autobans are saved per chat (the bot only lists autobans for the chat you’re currently in).
- If you add the same user again, it updates their duration and reason.
- Use clear reasons so staff can understand why the autoban exists later.
Add a user to autoban
Use this to auto-ban someone every time they join.
Example:
!autoban 123456 24 spamming
That user will be banned automatically for 24 hours whenever they join, with the reason “spamming”.
To ban forever, use 0 hours:
!autoban 123456 0 ban evasion
Tip: 0 hours means Forever.
View the autoban list
To see who is currently on the autoban list for your chat:
!autoban list
The bot will reply with the current list, including ID, duration, and reason.
Remove a user from autoban
To stop autobanning someone:
!autoban remove 123456
After removing them, they will be able to join normally again.
Notes