botway_dart 0.1.1 copy "botway_dart: ^0.1.1" to clipboard
botway_dart: ^0.1.1 copied to clipboard

Dart client package for Botway. After creating a new dart botway project, you need to use your tokens to connect with your bot.

botway_dart

Dart client package for Botway


Pub

Usage #

after creating a new dart botway project, you need to use your tokens to connect with your bot.

import "package:nyxx/nyxx.dart";
import "package:botway_dart/botway_dart.dart";

void main() {
  var bot_config = Botway();

  final bot = NyxxFactory.createNyxxWebsocket(bot_config.Get_Token(), GatewayIntents.allUnprivileged)
    ..registerPlugin(Logging()) // Default logging plugin
    ..registerPlugin(CliIntegration()) // Cli integration for nyxx allows stopping application via SIGTERM and SIGKILl
    ..registerPlugin(IgnoreExceptions()) // Plugin that handles uncaught exceptions that may occur
    ..connect();

...
1
likes
150
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

Dart client package for Botway. After creating a new dart botway project, you need to use your tokens to connect with your bot.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

path, yaml

More

Packages that depend on botway_dart