Discord Server Logging
A simple discord server logger which uploads the contents to pastebin
Requirements
- Python 3 (module requirements in requirements.txt)
- Discord API access
- Pastebin API access
How does it work?
- Edit values according to your server/guild in main.py
- Run the bot and use the /create_table command in your server to create a SQLite db containing different text channels as tables with messages as rows
- Constantly monitor all text chats and saves them in SQLite
- Converts SQLite data to text and uploads them to Pastebin
- Database gets cleared and back to step 3
Environment Variables
TOKEN, PASTEBIN_DEVKEY, PASTEBIN_USER_KEY, GUILDID, OWNERID
To-do
- Code simplification (which means never)