using riff; public class Cube : IRCBot { public Cube(string host, int port, string nick, string realname) : base(host, port, nick, realname) { string[] channels = [ "#bots", ]; (string, Action)[] commands = [ ("echo", Echo) ]; HookCommands(commands); JoinChannels(channels); } private void Echo(PRIVMSG privmsg) { SendPrivmsg(privmsg.Sender, privmsg.Body); } }