You created a method called "Log" but i can't see where you are calling that method.
Think about what the code you sent does line by line.
First you have a static method called ChannelMessage that accepts a user, channel and param.
When this method gets called, it checks if you can send a new...