firebridge 6.2.13 copy "firebridge: ^6.2.13" to clipboard
firebridge: ^6.2.13 copied to clipboard

An experimental package to use the Discord bot API with user accounts, built off of Nyxx.

Firebridge #

documentation

An experimental package to use Discord with user accounts, built off of Nyxx.

Note: Using this with your user account is against TOS! Proceed at your own risk.

To get started using nyxx, follow the Nyxx getting started guide to write your first bot.

If you're already familiar with Discord's API, here's a quick example to get you started:

import 'package:firebridge/firebridge.dart';

void main() async {
  final client = await Nyxx.connectGateway('<TOKEN>', GatewayIntents.allUnprivileged);

  final botUser = await client.users.fetchCurrentUser();

  client.onMessageCreate.listen((event) async {
    if (event.mentions.contains(botUser)) {
      await event.message.channel.sendMessage(MessageBuilder(
        content: 'You mentioned me!',
        replyId: event.message.id,
      ));
    }
  });
}

Other nyxx packages #

More examples #

  • More examples can be found in our GitHub repository here.
  • Running on Dart is a complete example of a bot written with nyxx.

Additional documentation & help #

The API documentation for the latest stable version can be found on pub.

Docs and wiki #

Tutorials and wiki articles are hosted here, as well as API documentation for development versions from GitHub.

Discord API docs #

Discord's API documentation details what nyxx implements & provides more detailed explanations of certain topics.

Pub.dev docs #

The dartdocs page will always have the documentation for the latest release.

Contributing to Firebridge #

Read the contributing document

Credits #

  • Thanks to Hackzzila's for nyx, the original project nyxx was forked from, as well as Nyxx, the project that firebridge is forked from.
0
likes
130
points
71
downloads

Publisher

verified publisheropenbonfire.dev

Weekly Downloads

An experimental package to use the Discord bot API with user accounts, built off of Nyxx.

Repository (GitHub)
View/report issues
Contributing

Documentation

Documentation
API reference

License

Apache-2.0 (license)

Dependencies

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

More

Packages that depend on firebridge