irc 1.1.1 copy "irc: ^1.1.1" to clipboard
irc: ^1.1.1 copied to clipboard

outdatedDart 1 only

A feature-full Dart IRC library

Dart IRC #

The Beautiful IRC Library for Dart that WORKS!

Usage #

Command Bot:

import '../src/irc.dart';

void main() {
    BotConfig config = new BotConfig(
        host: "irc.freenode.net",
        port: 6667,
        nickname: "DartBot",
        username: "DartBot"
    );

    CommandBot bot = new CommandBot(config, prefix: ".");

    bot.ready((ReadyEvent event) {
        event.join("#irc.dart");
    });

    bot.command("help").listen((MessageEvent event) {
        event.reply("> ${Color.BLUE}Commands${Color.RESET}: ${bot.commands.keys.join(', ')}");
    });

    bot.connect();
}
6
likes
0
points
523
downloads

Publisher

unverified uploader

Weekly Downloads

A feature-full Dart IRC library

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

event_bus, irc_message, quiver

More

Packages that depend on irc