nyxx 6.2.1 copy "nyxx: ^6.2.1" to clipboard
nyxx: ^6.2.1 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}!');
  }
}
96
likes
130
pub points
82%
popularity

Publisher

verified publisherl7ssha.xyz

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

Repository (GitHub)
View/report issues
Contributing

Documentation

Documentation
API reference

License

Apache-2.0 (LICENSE)

Dependencies

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

More

Packages that depend on nyxx