Files
Swear-Jar-Discord-Bot/README.md
2025-12-23 17:59:59 +00:00

30 lines
1.1 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# SwearJar
SwearJar is a Discord application that records how often selected words appear in chat messages.
It is designed as a lightweight statistics tool, not a moderation bot.
All commands use the Interactions (slash command) API through [discord.py](https://github.com/Rapptz/discord.py).
---
## 📄Features
- Tracks peruser and perguild counters for configured words.
- Updates totals automatically when a message contains one or more tracked words.
- `/swearjar` — show personal and total counts.
- `/sweartop` — leaderboard of top users per server or global.
- `/swearwords` — view the most frequently detected words.
- `/privacy` — view, delete, or reenable data tracking.
- Periodic status update that displays the global total of detected words.
---
## ⚙TechnicalOverview
- Language: **Python3.11+**
- Library: **discord.py2.4+**
- Database: **SQLite (`swearjar.db`)**
- GatewayIntents:
- `message_content`: **enabled**
- `guilds`: **enabled**
- `members`: **disabled**
- `presences`: **disabled**
Data stored: