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