Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김민욱
/
Slack Jokebot
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
1
Network
Create a new issue
Commits
Issue Boards
Authored by
김연준
2019-06-03 14:06:41 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
971a3c87883a76e73275cb5d77805257918eedd3
971a3c87
1 parent
eb9d1c75
runhelp function details added
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
Routers/route.js
Routers/route.js
View file @
971a3c8
...
...
@@ -109,8 +109,7 @@ function handleMessage(message, current_channel){
}
}
else
if
(
message
.
includes
(
' --help'
)){
comment
=
"If you want to start @joker then write [tell me] and write type of joke [knock-knock, general, programming, funny story, reddit]:smiley:!!!"
;
bot
.
postMessageToChannel
(
current_channel
,
comment
,
emoji
.
emojis
(
'smiliey'
));
runHelp
(
current_channel
);
}
else
if
(
message
.
includes
(
' what jokes'
)){
jokeTypes
=
[
"general"
,
'programming'
,
'knock-knock'
,
'reddit'
,
'funny story'
];
...
...
Please
register
or
login
to post a comment