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-05-30 11:03:48 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9c081a099e785ba1efde0d3511fe3fa5fa6fcf78
9c081a09
1 parent
f3ce6732
delete duplicate cmd on Dockerfile and update README.md
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
Dockerfile
README.md
Routers/route.js
Dockerfile
View file @
9c081a0
...
...
@@ -10,5 +10,4 @@ COPY . .
ENV
NAME joker
CMD
["node","db_control"]
CMD
["npm", "start"]
\ No newline at end of file
...
...
README.md
View file @
9c081a0
<h1>
Building a Slackbot
</h1><br>
<h2>
A slackbot that reacts to user's chat and sends jokes
</h2><br>
<h2>
A slackbot that reacts to user's chat and sends jokes
</h2><br><br>
<h3>
Currently operating on aws EC2 / managing it to run on docker container combining mongodb and the code to interact on 'aws docker version' branch

\ No newline at end of file
...
...
Routers/route.js
View file @
9c081a0
...
...
@@ -8,7 +8,8 @@ const url = 'mongodb://localhost:27017/';
exports
.
startbot
=
()
=>
{
// Get authorization to use the slackbot
const
bot
=
new
SlackBot
({
token
:
"xoxb-582582124755-587875604934-gdWsVhzGXCze3mECWXpTsAP6"
,
//xoxb-582582124755-587875604934-gdWsVhzGXCze3mECWXpTsAP6
token
:
""
,
name
:
"Joker"
});
...
...
Please
register
or
login
to post a comment