Based on a bot made by Loki and Bertram, rewritten in Python by fancyfinn9
- Clone the repository:
git clone https://github.com/Minetest-JMA-group/jma-discord-bot && cd jma-discord-bot - Install requirements:
pip3 install requirements.txt - Create a Discord bot and create the .env file:
cat .env.example > .env - Populate the .env file with your bot token and Discord IDs:
nano .env - Run the bot:
python3 main.py
- Modular system, so most features provided by independent "cogs"
- Humorous error messages
- Proper permission checks
- Automatic loading of specified cogs
- Error handling and logging
- Reload cogs (command)
- List all server roles (command)
- Send DMs to a user (command)
- Admins and Bot Manager can edit values of .env (command)
- WIP: Add all eligible messages in specified channel to the current story
- Edit the current story (command)
- React to a message when pinged
- If pinged with a specific message content, reply with a predetermined message
- Purge all messages after a specified one (command) (may move to DebugCog in future)
- Send custom menu for changing "server status" roles (command)
- Ping roles in specified channel when set to online
- Change the bot's status, supports all Discord presences (command)
- Adds thumbs up/down and a discussion thread to all messages in a specified channel