장재훈
1 -# TFT 도우미
...\ No newline at end of file ...\ No newline at end of file
1 +# TFT_Chat_Bot
2 +
3 +TFT에 관한 각종 정보를 제공해주는 챗봇.
4 +
5 +[챗봇 확인하기](http://pf.kakao.com/_ZNgNxb/chat)
6 +* 챗봇과의 채팅 기능을 이용하여 확인해보실 수 있습니다.
7 +* 단, 서버가 불안정한 경우 혹은 꺼진 경우에는 응답이 출력되지 않습니다.
8 +
9 +## About The Project
10 +![screenshot1](data/Image data/screenshot/pic1.png)
11 +
12 +![screenshot2](data/Image data/screenshot/pic2.png)
13 +
14 +![screenshot3](data/Image data/screenshot/pic3.png)
15 +
16 +![screenshot4](data/Image data/screenshot/pic4.png)
17 +
18 +사용자의 채팅을 기반으로 사용자가 원하는 정보를 제공하도록 함.
19 +
20 +## Features
21 +
22 +- 챔피언 정보
23 +- 아이템 정보
24 +- 시너지 정보
25 +- 은하계 체계 정보
26 +
27 +## Getting Started
28 +1. Clone
29 +```
30 +git clone http://khuhub.khu.ac.kr/2019102223/TFT_Chat_Bot.git
31 +```
32 +
33 +2. main.js 실행
34 +
35 +## Contributing
36 +
37 +같이 챗봇의 기능을 추가해봐요!
38 +
39 +1. Fork the Project
40 +2. Create your Feature Branch
41 +3. Commit our changes
42 +4. Push to Branch
43 +5. Open a Pull Request
44 +
45 +## Contact
46 +
47 +* 장재훈, jay4221@khu.ac.kr
48 +* 장재훈, 8362532@gmail.com
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -3,8 +3,8 @@ const app = express(); ...@@ -3,8 +3,8 @@ const app = express();
3 const logger = require('morgan'); 3 const logger = require('morgan');
4 const bodyParser = require('body-parser'); 4 const bodyParser = require('body-parser');
5 const apiRouter = express.Router(); 5 const apiRouter = express.Router();
6 -const axios = require("axios"); 6 +//const axios = require("axios");
7 -const cheerio = require('cheerio'); 7 +//const cheerio = require('cheerio');
8 const log = console.log; 8 const log = console.log;
9 const getHtml = async() => { 9 const getHtml = async() => {
10 try{ 10 try{
......