Commit Graph

25 Commits

Author SHA1 Message Date
ad988c9333 Add role selection system with select menus
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 7s
2026-04-02 10:55:43 +00:00
f90f0cb7ab Remove Kick monitoring module
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 13s
2026-04-02 07:55:42 +00:00
ed2919224b Update README with Kick monitoring module
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 7s
2026-03-31 09:57:07 +00:00
ec8e2f0a7b Rename kickstream command to kick 2026-03-31 09:55:27 +00:00
ce578ab377 Add Kick streaming monitoring module
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 36s
2026-03-31 09:28:28 +00:00
5bbcb0f53f docs: update events structure and trigger system docs
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 4s
2026-03-28 19:38:17 +00:00
9fbd8e6d51 Add messageCreate event for trigger auto-responses
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 23s
2026-03-28 19:30:22 +00:00
3da019b8c7 Docs: Add purge command to README and AGENTS-BOT.md
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 7s
- Added purge subcommands to admin command list
- Documented purge implementation details in AGENTS-BOT.md
- Listed Discord API constraints (100 message limit, 14 day filter)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 15:03:50 +01:00
b0f153f135 Add: Purge command for message deletion
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>
2026-03-23 15:01:44 +01:00
362437bcd5 Add: leaves event logging for user server departures
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 7s
- 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>
2026-03-23 11:03:28 +01:00
ea7762dc4b Fix: Add database migration for new columns
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 6s
ALTER TABLE guild_settings adds missing columns:
- welcome_message, goodbye_message
- log_channel, log_events

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 10:52:50 +01:00
6608d05f6f Fix: Split channelEvent.ts into separate create/delete files
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 6s
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>
2026-03-23 10:47:48 +01:00
6b259ddaa2 Docs: Update README.md and AGENTS-BOT.md
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 6s
Add Welcome/Goodbye and Logging modules to documentation.
Add new events structure, database fields, and command summary.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 10:42:32 +01:00
610cbf7b4d Add: Logging module with moderation events
Commands:
- /log setchannel, enable, disable, list, help

Events logged:
- messages: deleted/edited messages
- roles: role changes
- nicks: nickname changes
- channels: channel create/delete
- warns, mutes, kicks, bans: moderation actions

Moderation logging integrated into admin.ts for all
mod actions (warn, mute, kick, ban).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 10:35:40 +01:00
5ee6959662 Add: Welcome and goodbye message module
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 6s
- 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>
2026-03-23 10:24:47 +01:00
f17cde44c3 Add: .gitattributes for consistent line endings
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 10:13:26 +01:00
0435056271 Fix: Remove optional channel option from twitch add
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 6s
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>
2026-03-23 09:56:58 +01:00
1dcd1cad98 Enhance: Twitch multi-streamer support and fix timer listall
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 7s
- Twitch add: multiple streamers via comma separation
- Twitch add: optional discord channel (defaults to current)
- Twitch remove: multiple streamers via comma separation
- Twitch listall: new command showing all server streamers (admin)
- Timer listall: fix SQL error by removing invalid JOIN

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 09:45:28 +01:00
5c6188ea13 Add: Timer and Trigger modules with help subcommands
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 6s
- 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>
1.0
2026-03-22 18:53:33 +01:00
f78636447b Fix: Replace deprecated ephemeral with MessageFlags.Ephemeral
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 6s
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>
2026-03-22 18:22:44 +01:00
d65e613cdd Fix: Use single quotes in SQL queries
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 6s
Change SQL queries from double quotes to single quotes for SQLite
compatibility in TwitchManager.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 18:04:58 +01:00
1cb9b566d8 Fix: Twitch commands use ModerateMembers permission
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 6s
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>
2026-03-22 17:51:02 +01:00
632581c9f7 Fix: Load both .ts and .js files for commands/events
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 6s
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>
2026-03-22 17:09:11 +01:00
6825e9d1b2 Fix: Move TypeScript to dependencies for Docker build
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 14s
Move typescript from devDependencies to dependencies so it's
available in the Docker container during build.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 16:36:34 +01:00
40be1e181c Initial: Pixelpöbel Discord Bot
Some checks failed
Auto Build and Push Docker Image / build (push) Failing after 8s
- Modular Discord Bot mit TypeScript und discord.js
- Grouped Commands (/admin, /owner subcommands)
- SQLite Datenbank mit Persistenz
- Twitch Monitoring mit Stream-ID Tracking
- Konfigurierbares Warn-System (Auto-Kick/Mute/Ban)
- Mute mit verschiedenen Zeiteinheiten (sec, min, hour, day, week, month, year, perm)
- Auto-Deploy beim Start (Option 3)
- Docker Support

Features:
- /ping, /help, /twitch (online, add, remove, list)
- /admin (kick, warn, unwarn, mute, unmute, ban, unban, config)
- /owner (deploy, stats, servers)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 16:29:30 +01:00