void Bot_OnKick(Network network, Abbot.Irc.KickEventArgs e) { if (e.Whom == network.Nickname) { Console.WriteLine("Rejoining " + e.Channel + " on " + network.Name + "."); network.RfcJoin(e.Channel); } }
void Bot_OnDeop(Network n, Abbot.Irc.DeopEventArgs e) { Op(n, GetFullUser(n, e.Whom), e.Whom, e.Data.Channel); }