Skip to content

A simple discord server logger which uploads the contents to pastebin

License

Notifications You must be signed in to change notification settings

vaishnav67/Discord-Server-Logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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?

  1. Edit values according to your server/guild in main.py
  2. 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
  3. Constantly monitor all text chats and saves them in SQLite
  4. Converts SQLite data to text and uploads them to Pastebin
  5. Database gets cleared and back to step 3

Environment Variables

TOKEN, PASTEBIN_DEVKEY, PASTEBIN_USER_KEY, GUILDID, OWNERID

To-do

  1. Code simplification (which means never)

About

A simple discord server logger which uploads the contents to pastebin

Topics

Resources

License

Stars

Watchers

Forks

Languages