This is a generic bot that you can customize!
Some cool things it can do:
- Calculate a tier list in real-time based on the point distribution of the users in the discord
- Do naughty checks on discord members and send members to naughty jail
- Join the vc and play .mp3 files and then dc
- Ridicule a random user for their tweets
- Others!
Install:
-
Use pip to install the necessary packages ("necessary_packages.txt")
-
Set up a mongodb account and collection:
- https://www.mongodb.com/blog/post/getting-started-with-python-and-mongodb
- Connect the mongodb account to the bot by inputting the necessary info in secret_info.py:
- MONGO_CONNECTION_URL
- MONGO_DB
- MONGO_COLLECTION_USERS
- MONGO_COLLECTION_TIER_LIST
-
Set up the discord bot's settings:
- https://discord.com/developers/applications/
- Instructions for setup: https://discordpy.readthedocs.io/en/stable/discord.html
- Connect the discord bot to the actual code in secret_info.py:
- TOKEN
- CHANNEL_ID
- GUILD_ID
-
Set up tweepy api (to read user's tweets)
-
Add mp3 files and other miscellaneous info (ensure that all of secret_info.py is filled)
-
More information here: