Steammy is a Discord bot designed to make announcements of new games arriving in well known platforms such as Microsoft Game Pass, Sony PS+ and Epic Games
- Xbox Game Pass
- Sony PS+
- Epic Games
- Invite Steammy to your server here
/subscribe <PLATFORM>on the channel you want to receive notifications- Done! Just wait for upcoming games
You can /unsubscribe to stop a channel from receiving news
- Create a new catalog entity (
src/entities/CatalogMyPlatform.ts). You can use the existing ones as reference- Implement a
fetchNotBroadcastedmethod that retrieves all games that haven't been published to Discord yet
- Implement a
- Run
npm run migration:createto create a new migration file using MikroORM - Run
npm run migration:upto run the newly created migration - Create a new service for the platform you want to add in
src/services/Platformsfolder- This service must implement a
syncmethod that inserts new records to its respective catalog table - You can use
MAPPER_SCHEMAto translate the API response to the catalog table, according to the Platform's API you're adding (use Epic MAPPER_SCHEMA as reference). Read object-mapper docs
- This service must implement a
- Add a schedule to Broadcast to publish new games to Discord
