https://github.com/bemxio/discord-member-log
A Discord bot for real-time member logging in Google Sheets
https://github.com/bemxio/discord-member-log
bot csv discord google-sheets pycord python worksheet
Last synced: 10 months ago
JSON representation
A Discord bot for real-time member logging in Google Sheets
- Host: GitHub
- URL: https://github.com/bemxio/discord-member-log
- Owner: bemxio
- License: mit
- Created: 2022-03-07T16:44:19.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-07T16:44:48.000Z (over 4 years ago)
- Last Synced: 2025-03-05T14:32:05.180Z (over 1 year ago)
- Topics: bot, csv, discord, google-sheets, pycord, python, worksheet
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# discord-member-log
A simple Discord bot, that logs member join/leave events into a spreadsheet.
It also can export a CSV file with all current members on the server.
This was originally created for r/okbuddyhololive, but I've decided to publish it.
**NOTE: The bot is meant to run on a single server.**
Unless you want all of the members across servers to be logged into a single worksheet,
it does not have multi-server support.
## Running
Make sure you have Python 3.8+ & Git installed.
You will also need an application on the [Discord Developer Portal](https://discord.com/developers/applications),
and a GCS Service Account (instructions on how to create it can be found [here](https://docs.gspread.org/en/v5.2.0/oauth2.html#for-bots-using-service-account)).
1. Clone this repository into your PC/VPS (using `git clone https://github.com/bemxio/discord-member-log`)
2. Install all requirements with `pip` (`pip install -r requirements.txt`)
3. Rename `example.toml` to `config.toml` and fill in all required fields
4. Copy the JSON file from GCS into the bot's directory, renaming it to `service_account.json`
5. Run the bot with `python bot.py` or `python3 bot.py`