Skip to content

Commit

Permalink
Fix example in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
abitofevrything committed Sep 16, 2023
1 parent bfbe4e5 commit 2aaa3f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ If you're already familiar with Discord's API, here's a quick example to get you
import 'package:nyxx/nyxx.dart';
void main() async {
final client = await Nyxx.connectWebsocket('<TOKEN>', GatewayIntents.allUnprivileged);
final client = await Nyxx.connectGateway('<TOKEN>', GatewayIntents.allUnprivileged);
final botUser = await client.users.fetchCurrentUser();
Expand Down

0 comments on commit 2aaa3f9

Please sign in to comment.