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-02 20:38:04 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e0f951f7f8576f18db68a9019e5a3321737a3420
e0f951f7
1 parent
5b103ab9
필요없는코드삭제
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
8 deletions
Routers/route.js
Routers/route.js
View file @
e0f951f
...
...
@@ -126,14 +126,7 @@ function handleMessage(message, current_channel){
bot.postMessageToChannel(current_channel, comment, emoji.emojis('flushed'));
}*/
}
function
MakeJoke
(
message
){
fs
.
writeFile
(
'../joke_data//jokes.json'
,
message
,
function
(
err
){
if
(
err
)
{
console
.
log
(
'Error'
+
err
);
}
console
.
log
(
'완료'
);
})
}
//Gets a random integer
function
getRandomInt
(
max_num
)
{
min
=
Math
.
ceil
(
1
);
...
...
Please
register
or
login
to post a comment