f5190318322255d9c7e6613aa2284d869603d3c4
TARS
T.A.R.S. is a Discord bot for a private server with moderation, utility, and light recreational tooling.
Features
- Moderation and safety: auto-moderation hooks, reports, lock/slowmode tools, and a configurable banned-word list.
- Utility automation: reminders, message quoting, and server/user diagnostics.
- Community engagement: MOTD rotation and fun commands like dice and 8-ball.
- Boost points: reward boosters and let them redeem perks through a simple shop flow.
Quick Start
- Install dependencies:
pip install -r requirements.txt - Configure environment variables:
DISCORD_TOKENOWNER_IDGUILD_IDOPENAI_API_KEY(optional, required for AI replies)
- Run the bot:
python tars_bot.py
Command Highlights
Moderation
/tarsreport— report a user to staff./clean— delete the last N messages (admin only)./lock//unlock— lock or unlock a channel (admin only)./slowmode— set a channel slowmode delay (admin only)./addbannedword//removebannedword//listbannedwords— manage banned words.
Utility & Diagnostics
/tars— command console and categorized help./userinfo//roleinfo//serverinfo— quick info commands./status— show system health./remindme— set reminders with flexible durations (e.g.1h 30m)./reactionrole— create a reaction role (admin only)./setmotd— set MOTD channel (owner only)./motd_add//motd_remove//motd_list— manage the MOTD rotation (owner only).
Recreational
/8ball— ask the magic 8-ball./dice— roll dice with optional modifiers (e.g.2d6+1)./quote//getquote— save and retrieve memorable quotes.
Notes
- MOTD messages rotate hourly when configured.
- The AI subsystem can be disabled automatically if too many errors occur in a short window.
Description
Languages
Python
100%