Skip to content

A multi-purpose Discord bot, intended for administrative purposes. (Work in progress) Also can be defined as a defender bot that auto-deletes NSFW and/or swear words. He insults back if anyone is too rude or offensive.

License

Notifications You must be signed in to change notification settings

s2bd/guardian-discord-bot

Repository files navigation

Guardian, Discord bot template

A multi-purpose Discord bot, intended for administrative purposes. (Work in progress) Also can be defined as a defender bot that auto-deletes NSFW and/or swear words. He insults back if anyone is too rude or offensive.

Restrictions

Currently there are no specified restrictions from my behalf except a kind suggestion NOT to use the logging features of this bot too frequently!

Acknowledgements

How to Run

  • Download the source code via the <> Code button then Download ZIP or if you are comfortable with a CLI/Terminal, then just copy the commmand.
  • Download the dependencies:
pip install discord requests flask
  • Edit this line of code: TOKEN = os.getenv("TOKEN") with your bot token from the Discord Developers Portal, or define an environment variable if you are using a cloud service to host the bot. Or to make a bot, just make an app, then go to the Bot tab and create one. Copy the token and store it safely somewhere.
  • Run by:
python3 main.py

If you get something like this, it's working fine 👍

Note

For recent Python3 versions on Linux, you may have to create a virtual environment to download external libraries/packages via pip install *

To set up a virtual env, follow these steps:

python3 -m venv bot_env
source bot_env/bin/activate

And now you can easily type the pip install _ commands.

Or... Just get the original bot

About

A multi-purpose Discord bot, intended for administrative purposes. (Work in progress) Also can be defined as a defender bot that auto-deletes NSFW and/or swear words. He insults back if anyone is too rude or offensive.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •