Yes. You have to change #test to #yourchannelname otherwise the code will not work. Actually it works, but on the channel #test.