Made the bot rejoin the channel if it gets kicked.
Fixed that the bots name could be "nick1" if the bot reconnected while an old instance was still online.
Added a command which sends a message to a channel.