private void IrcClient_Registered(object sender, EventArgs e)
{
var client = (IrcClient)sender;
client.LocalUser.NoticeReceived += IrcClient_LocalUser_NoticeReceived;
client.LocalUser.MessageReceived += IrcClient_LocalUser_MessageReceived;
client.LocalUser.JoinedChannel += IrcClient_LocalUser_JoinedChannel;
client.LocalUser.LeftChannel += IrcClient_LocalUser_LeftChannel;
Console.Beep();
OnClientRegistered(client);
}