5 Commits
Author SHA1 Message Date
asepharyana 630a85963d chore: sync DB to imrnes pgbouncer pool 6432 2026-08-02 16:11:35 +07:00
MythEclipse 898ae2dd56 feat(config): add BOOSTER_GREETING_CHANNEL_ID environment variable 2026-06-06 03:29:21 +07:00
MythEclipse cc6975825f feat: add booster eligibility role and logging functionality
- Added BOOSTER_ELIGIBILITY_ROLE_ID and LOG_LEVEL to .env.example and README.md
- Updated GitHub Actions workflow to include new environment variables
- Enhanced configuration loading to support booster eligibility role
- Implemented role checking logic in bot handlers and guild member updates
- Introduced logging using Winston for better traceability of actions
- Created tests for guild member update handling to ensure correct role removal
- Refactored DiscordRoleRepository to simplify role position resolution
2026-05-21 15:27:10 +07:00
MythEclipse bfa91063ff feat: migrate from SQLite to PostgreSQL and update database handling 2026-05-21 15:11:32 +07:00
MythEclipse c6b1087eb3 feat: initialize booster role bot with database and Discord integration
- Add drizzle configuration for SQLite database
- Create package.json with necessary dependencies and scripts
- Implement configuration loading for Discord bot
- Define permissions for roles
- Set up database schema for booster roles
- Create Discord client and commands for managing booster roles
- Handle guild member updates to manage roles based on boost status
- Implement boost eligibility checks and role management logic
- Add tests for boost eligibility and role guards
- Create service for managing booster roles with in-memory storage for testing
- Configure TypeScript settings for the project
2026-05-15 23:03:35 +07:00