nyxx 6.5.2 copy "nyxx: ^6.5.2" to clipboard
nyxx: ^6.5.2 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
150
pub points
80%
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