|Wojciech Pawlik 7ea9f48e3f||1 week ago|
|.circleci||4 months ago|
|.vscode||4 months ago|
|actions||3 months ago|
|assets||2 years ago|
|bot||2 weeks ago|
|handlers||1 week ago|
|plugins||5 months ago|
|stores||2 months ago|
|typings||4 months ago|
|utils||2 months ago|
|.editorconfig||4 months ago|
|.eslintrc.json||3 months ago|
|.gitignore||2 years ago|
|.mailmap||5 months ago|
|Dockerfile||4 months ago|
|LICENSE||3 years ago|
|README.md||2 months ago|
|example.config.js||6 months ago|
|index.js||2 months ago|
|package-lock.json||2 months ago|
|package.json||2 months ago|
|tsconfig.json||4 months ago|
Initially created to moderate The Devs Network.
NOTE: The Guard is in beta phase; it has known issues, but it’s successfully being used in production
If you need help with using the Bot or setting it up, join our Support Chat.
You need Node.js (>= 12) to run this bot.
config.jsand edit it.
You need to have docker installed on your machine.
config.jsand edit it.
docker build -t the_guard_bot .to build image.
docker run -v $(pwd)/data:/app/data --rm -itd the_guard_botto start the bot.
Now you can add the bot as administrator to your groups.
Overall, keeps the groups clean and healthy to use.
||Master||Everywhere||Makes the user admin in the bot and groups.|
||Master||Everywhere||Demotes the user from admin list.|
||Master||Everywhere||Make the bot to leave the group cleanly.|
||Master||Groups||Revoke invite link and hide the group from
||Master||Groups||Make the group accessible via
||Admin||Everywhere||Deletes replied-to message.|
||Admin||Groups||Warns the user.|
||Admin||Everywhere||Removes the last warn from the user.|
||Admin||Everywhere||Clears warns for the user.|
||Admin||Everywhere||Permits the user to advertise once, within 24 hours.|
||Admin||Groups||Bans the user from groups.|
||Admin||Everywhere||Removes the user from ban list.|
||Admin||Everywhere||Shows the status of the user.|
||Admin||In-Bot||Create a custom command.|
||Admin||In-Bot||Remove a custom command.|
||Everyone||Everywhere||Shows a list of admins.|
||Everyone||Everywhere||Shows the current group’s link.|
||Everyone||Everywhere||Shows a list of groups which the bot is admin in.|
||Everyone||Everywhere||Reports the replied-to message to admins.|
||Everyone||In-Bot||Shows a list of available commands.|
||Everyone||In-Bot||How to use the bot.|
All commands and actions are synchronized across all of the groups managed by the owner and they work with replying, mentioning or ID of a user.
If used by reply,
/warn would remove the replied-to message.
The bot is still in beta phase so feel free to open issues and ask for features.
Important Note: Under the AGPL-3.0 license, if you’re running your own instance, you should add a link to the source (this repository) in your bot’s bio. If you’re modifying this source and making your own bot, you should link to the source of your own version of the bot according to the AGPL-3.0 license. Check LICENSE for more info.
The Guard icon is from Entypo+ by Daniel Bruce.