Closed falhar closed 1 month ago
The changes update the handling of platform options within the application. The error message for the ERR_20
code is modified to include "discord" as a valid platform alongside "ios," "android," and "web." Additionally, two new platform slugs, PLATFORM_DISCORD_SLUG
and PLATFORM_WEB_SLUG
, are added to the AppService
class. The service's logic is enhanced to accommodate these platforms, including new credential rules for Discord and updated options.
File | Change Summary |
---|---|
src/response-codes.json | Updated error message for ERR_20 to include "discord" as a valid platform option. |
src/services/app.js | Added PLATFORM_DISCORD_SLUG and PLATFORM_WEB_SLUG ; updated platform validation and rules, including new credential requirements for Discord. |
In the meadow where rabbits play,
New platforms hop in, hip-hip-hooray!
Discord joins the fun, oh what a sight,
With options galore, our hearts take flight!
So let’s celebrate with a joyful cheer,
For every new change brings us more cheer! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes
ERR_20
to reflect the inclusion of Discord as a valid platform.