Closed abitofevrything closed 8 months ago
Nyxx's default user agent doesn't match Discord's documentation. This PR fixes that.
See https://discord.com/developers/docs/reference#user-agent. Other libraries (I checked discord.js, discord.py and JDA) all use the DiscordBot prefix, so this is likely a misinterpretation on our end.
DiscordBot
Thanks to @MCausc78 for finding this.
dart analyze
make analyze
dart format --set-exit-if-changed -l 160 ./lib
make format
Description
Nyxx's default user agent doesn't match Discord's documentation. This PR fixes that.
See https://discord.com/developers/docs/reference#user-agent. Other libraries (I checked discord.js, discord.py and JDA) all use the
DiscordBot
prefix, so this is likely a misinterpretation on our end.Thanks to @MCausc78 for finding this.
Type of change
Checklist:
dart analyze
ormake analyze
and fixed all issuesdart format --set-exit-if-changed -l 160 ./lib
ormake format
and fixed all issues