Skip to content

Commit

Permalink
Add Event mixin for NyxxRest
Browse files Browse the repository at this point in the history
  • Loading branch information
l7ssha committed Oct 27, 2024
1 parent a7b9a7b commit 8ed53df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ mixin CommonEventProvider implements Nyxx {
}

/// A client that can make requests to the HTTP API and is authenticated with a bot token.
class NyxxRest with ManagerMixin, CommonEventProvider implements Nyxx {
class NyxxRest with ManagerMixin, EventMixin, CommonEventProvider implements Nyxx {
@override
final RestApiOptions apiOptions;

Expand Down Expand Up @@ -236,7 +236,7 @@ class NyxxRest with ManagerMixin, CommonEventProvider implements Nyxx {
}
}

class NyxxOAuth2 with ManagerMixin, CommonEventProvider implements NyxxRest {
class NyxxOAuth2 with ManagerMixin, EventMixin, CommonEventProvider implements NyxxRest {
@override
final OAuth2ApiOptions apiOptions;

Expand Down

0 comments on commit 8ed53df

Please sign in to comment.