Skip to content

volt-framework/volt

Repository files navigation

Volt

revolt-api

Volt is a wrapper around Revolt API for creating bots for Dart language. It's currently in active development so not all of the functionality has yet been implemented.

Example usage

import 'package:volt/volt.dart';

void main() {
  final bot = Volt('TOKEN');

  bot.onMessageReceived.listen((event) {
    if (event.message.content == '!ping') {
      event.message.reply(MessageBuilder.content('Pong!'));
    }
  });
}

Installation guide

Since the library is not yet available on pub.dev, the dependency needs to be added by yourself.

To install, edit your pubspec.yaml:

dependencies:
    # ...your depedencies...
    volt:
        git: https://github.com/volt-framework/volt.git

Or just use the command line:

dart pub add volt --git-url=https://github.com/volt-framework/volt.git

Contribution

Credits

  • Agilord's for ulid dart implementation
  • This project is heavily inspired by nyxx <3

About

Revolt bot API framework for Dart

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages