Commit Graph

5 Commits

Author SHA1 Message Date
tiennm99 4c62fde11f Replace SOURCE_VERSION with SOURCE_COMMIT in config
Renamed the SOURCE_VERSION constant to SOURCE_COMMIT in Config.java and updated its usage in Main.java. The environment variable and related references now consistently use SOURCE_COMMIT to better reflect the tracked value.
2025-11-07 21:08:05 +07:00
tiennm99 cced06fda9 Notify creator on bot startup and enhance config
Added a startup notification to the creator with the current bot version. Refactored ADMIN_IDS to a List, introduced CREATOR_ID and SOURCE_VERSION constants in Config, and improved environment variable handling.
2025-11-07 21:04:02 +07:00
tiennm99 bae876b086 Refactor bot client and add group management commands
Replaced ScoreScrapeBotTelegramClient with StoreScrapeBotTelegramClient and updated related references. Added BaseStoreScraperBotCommand for command error handling. Implemented AddGroupCommand and GetGroupCommand for managing allowed groups via admin commands. Improved CouchbaseUtil to ensure scope and collection creation. Updated logging configuration and environment example. Minor model and repository adjustments for initialization and group handling.
2025-11-04 23:06:46 +07:00
tiennm99 b3cc35b4c2 Integrate Telegram bot with command support
Replaces the previous TelegramBots dependency with the new telegrambots-client, extensions, and longpolling modules. Adds StoreScrapeBot with command handling, including a stub AddGroupCommand, and updates Main to start the bot. Config is extended to support bot credentials and admin IDs, and CouchbaseUtil is simplified to remove example code.
2025-10-30 21:38:39 +07:00
tiennm99 35e88de99a feat(api): init 2025-10-26 09:19:36 +07:00