Skip to content

Commit

Permalink
Correct the user agent used by default (#633)
Browse files Browse the repository at this point in the history
  • Loading branch information
abitofevrything authored Feb 24, 2024
1 parent 0deacf8 commit a1d89ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/api_options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ abstract class ApiOptions {
static const nyxxRepositoryUrl = 'https://github.com/nyxx-discord/nyxx';

/// The default value for the `User-Agent` header for bots made with nyxx.
static const defaultUserAgent = 'Nyxx ($nyxxRepositoryUrl, $nyxxVersion)';
static const defaultUserAgent = 'DiscordBot ($nyxxRepositoryUrl, $nyxxVersion)';

/// The host at which the API can be found.
///
Expand Down

0 comments on commit a1d89ca

Please sign in to comment.