uhxx 0.1.6 copy "uhxx: ^0.1.6" to clipboard
uhxx: ^0.1.6 copied to clipboard

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

example/example.dart

import 'dart:io';

import 'package:uhxx/uhxx.dart';

void main() async {
  final client = await Uhxx.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}!');
  }
}
0
likes
140
points
439
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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

Repository
View/report issues

License

Apache-2.0 (license)

Dependencies

eterl, ffi, http, logging, meta, oauth2, path, runtime_type, zstd_ffi

More

Packages that depend on uhxx