김연준

runhelp function details added

...@@ -109,8 +109,7 @@ function handleMessage(message, current_channel){ ...@@ -109,8 +109,7 @@ function handleMessage(message, current_channel){
109 } 109 }
110 } 110 }
111 else if(message.includes(' --help')){ 111 else if(message.includes(' --help')){
112 - comment = "If you want to start @joker then write [tell me] and write type of joke [knock-knock, general, programming, funny story, reddit]:smiley:!!!"; 112 + runHelp(current_channel);
113 - bot.postMessageToChannel(current_channel, comment, emoji.emojis('smiliey'));
114 } 113 }
115 else if(message.includes(' what jokes')){ 114 else if(message.includes(' what jokes')){
116 jokeTypes = ["general", 'programming', 'knock-knock','reddit','funny story']; 115 jokeTypes = ["general", 'programming', 'knock-knock','reddit','funny story'];
......