https://github.com/timwitzdam/discord_audit_log_export
This bot helps you to export the audit log of your server in JSON or/and CSV format.
https://github.com/timwitzdam/discord_audit_log_export
audit-log discord-bot discord-py
Last synced: 2 months ago
JSON representation
This bot helps you to export the audit log of your server in JSON or/and CSV format.
- Host: GitHub
- URL: https://github.com/timwitzdam/discord_audit_log_export
- Owner: TimWitzdam
- Created: 2024-06-09T14:38:46.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-08-09T17:27:14.000Z (11 months ago)
- Last Synced: 2025-08-09T19:21:10.002Z (11 months ago)
- Topics: audit-log, discord-bot, discord-py
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Audit: audit_log_formatter.py
Awesome Lists containing this project
README
Discord Audit Log Exporter
This bot helps you to export the audit log of your server in JSON or/and CSV format.
## 🚀 Getting started (Discord Bot)
1. Invite the bot to your server: [Invite](https://discord.com/oauth2/authorize?client_id=544944976853729300&permissions=2147485824&integration_type=0&scope=bot)
2. Use the /export command to export the audit log of your server
## 🖥️ Getting started (Selfhosted)
1. Prerequisites
Make sure you have Docker and Docker Compose installed
2. Clone/download the repo
```
git clone https://github.com/TimWitzdam/discord_audit_log_export.git
cd discord_audit_log_export
```
3. Create .env file
```
# Example .env file
BOT_TOKEN=your_bot_token
BOT_INVITE=https://example.com
DEFAULT_LIMIT=1000
MAX_LIMIT=10000
```
4. Start the bot
```
docker compose up
```
## 🧞 Commands
All commands that are available for the bot.
| Command | Action |
| :---------------------------------- | :------------------------------------------------------------ |
| `/export [data_type] [(opt) limit]` | Exports your audit log to the desired data type (JSON or CSV) |
| `/help` | Returns all commands of the bot |
| `/invite` | Sends the invite link configured in the .env |
## 👀 Any questions or problems?
Feel free to open an issue or even contribute by fixing a problem.
I'm also available via mail: [contact@witzdam.com](mailto:contact@witzdam.com)