- Make /trigger list and help public subcommands with ephemeral replies
- Restrict /trigger add and remove to moderators/admins
- Use Unicode-aware regex and strip URLs before trigger word matching
- Ensure guild_settings exist before UPDATE queries in welcome and log commands
- Fix rolesetup edit neue_rolle type to addRoleOption and prevent label truncation
- Reset select menu components after selection so users can re-click same options
- Validate Twitch streamers via Helix Users API and prevent interaction timeouts with deferReply
- Connect TwitchMonitor automatically on startup and when first channel is added
- Add moderation role-hierarchy checks to admin commands and enforce timeout limits
- Disable DM execution on server-bound commands to prevent SQLite null constraint errors
- Update README.md and AGENTS-BOT.md with new constraints and command documentation
Added /admin purge with subcommands:
- amount: Delete X messages (1-100)
- time: Delete messages from last X minutes/hours
- user: Delete X messages from specific user
- all: Delete all possible messages (max 100)
Features:
- Only works in the channel where executed
- Requires ModerateMembers permission
- Filters messages older than 14 days (Discord API limit)
- Logs purge actions to moderation log channel
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Log 'leaves' event when user leaves the server
- Shows user info and join date in log embed
- Add to available log events and default list
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The combined file with named exports caused 'once' property error.
Each event file must use 'export default'.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add /welcome command with setchannel, add, remove, list, help
- Welcome messages on guildMemberAdd event
- Goodbye messages on guildMemberRemove event
- Auto-use Discord system channel if no custom channel set
- Variables: {user}, {username}, {server}, {membercount}
- Add welcome_message and goodbye_message to guild_settings
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Discord does not support optional channel options in subcommands.
Streamers are now monitored in the channel where the command is executed.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add /timer command: add, remove, list, listall, help
- Add /trigger command: add, remove, list, help
- Add /admin help and /owner help subcommands
- Add /twitch help subcommand
- Add ReminderManager for timer notifications
- Add reminders table to database
- Update README.md and AGENTS-BOT.md documentation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fixes Discord.js v14 deprecation warning by replacing all
ephemeral: true usages with flags: [MessageFlags.Ephemeral].
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Change SQL queries from double quotes to single quotes for SQLite
compatibility in TwitchManager.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Change twitch add/remove subcommands to use ModerateMembers permission
instead of Administrator, matching the /admin command permissions.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Update file filters to accept both .ts and .js files, so the bot
works both in development (with ts-node) and production (compiled).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>