nyxx 6.4.3 copy "nyxx: ^6.4.3" to clipboard
nyxx: ^6.4.3 copied to clipboard

A complete, robust and efficient wrapper around Discord's API for bots & applications.

example/example.dart

import 'dart:io';

import 'package:nyxx/nyxx.dart';

void main() async {
  final client = await Nyxx.connectGateway(
    Platform.environment['TOKEN']!,
    GatewayIntents.allUnprivileged,
    options: GatewayClientOptions(plugins: [logging, cliIntegration]),
  );

  await for (final MessageCreateEvent(:message) in client.onMessageCreate) {
    print('${message.id} sent by ${message.author.id} in ${message.channelId}!');
  }
}
101
likes
0
pub points
79%
popularity

Publisher

verified publisherl7ssha.xyz

A complete, robust and efficient wrapper around Discord's API for bots & applications.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

eterl, http, logging, meta, oauth2, path, retry, runtime_type

More

Packages that depend on nyxx