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.
-
Discord:
-
You must have a discord bot application set up
-
Make sure your bot has server members intent enabled
-
Invite the bot to your guild(s)
-
-
Local:
-
Python 3.7.4 or greater must be installed
-
Clone this repository
git clone https://github.com/Infinitifall/MemlogBot.git cd MemlogBot
-
(Optional) Creating a virtual environment is recommended
-
Install all packages listed in requirements.txt
pip install -r requirements.txt
-
In bot_globals.py, update the following:
bot_token
with your bot’s secret token (string)
-
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
-
Navigate to the main directory and run the bot.py file
python bot.py