Infinitifall / MemlogBot

A bot that keeps track of ever-changing members, names, discriminators and roles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MemlogBot

Update: discord.py is no longer maintained, this repository has been archived.

A discord.py bot that keeps track of ever-changing members, names, discriminators and roles for all your guilds/servers! Once running, the bot checks all guilds for changes every few minutes. All data is stored in memlog.json and the a crude summary of changes are appended to changelog.txt.

Setup

  1. Discord:

    1. You must have a discord bot application set up

    2. Make sure your bot has server members intent enabled

    3. Invite the bot to your guild(s)

  2. Local:

    1. Python 3.7.4 or greater must be installed

    2. Clone this repository

      git clone https://github.com/Infinitifall/MemlogBot.git
      cd MemlogBot
      
    3. (Optional) Creating a virtual environment is recommended

    4. Install all packages listed in requirements.txt

      pip install -r requirements.txt
      
    5. In bot_globals.py, update the following:

      • bot_token with your bot’s secret token (string)
    6. Finally, you dont want to accidentally git push sensitive data! (what is this?)

      git update-index --skip-worktree data/bot_globals.py
      git update-index --skip-worktree data/changelog.txt
      git update-index --skip-worktree data/memlog.json
      

Run

Navigate to the main directory and run the bot.py file

python bot.py

About

A bot that keeps track of ever-changing members, names, discriminators and roles

License:GNU General Public License v3.0


Languages

Language:Python 100.0%