Initial commit IRC bot
Added todo
Splitted "checkPermission" code into new method.