aboutsummaryrefslogtreecommitdiff
path: root/src/bot_telegram.js
diff options
context:
space:
mode:
authorAlee14 <Alee14498@gmail.com>2018-01-07 08:53:30 -0500
committerAlee14 <Alee14498@gmail.com>2018-01-07 08:53:30 -0500
commit533bf07438478a93c498ef831f99c3c1ab93eb2f (patch)
tree5b2b45bd1ddfdd594bc596f18f5df135e30f28ad /src/bot_telegram.js
parentb23c90a245b7f0440f03eeb23fb61ccbef9e3cc5 (diff)
downloadAleeBot-533bf07438478a93c498ef831f99c3c1ab93eb2f.tar.gz
AleeBot-533bf07438478a93c498ef831f99c3c1ab93eb2f.tar.bz2
AleeBot-533bf07438478a93c498ef831f99c3c1ab93eb2f.zip
Added changelog and some bugs aren't fixed yet :(
Diffstat (limited to 'src/bot_telegram.js')
-rw-r--r--src/bot_telegram.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/bot_telegram.js b/src/bot_telegram.js
deleted file mode 100644
index 3ca14c3..0000000
--- a/src/bot_telegram.js
+++ /dev/null
@@ -1,20 +0,0 @@
-/*********************************************
- *
- * AleeBot for Alee's Lounge telegram chat
- * Copyright (C) 2017 AleeCorp
- * License: MIT
- *
- **********************************************/
- const TelegramBot = require('node-telegram-bot-api');
- const abVersion = ('1.0 Beta');
- var token = "506287133:AAFUxedYBjhvjNSO6HFitJqk-tLjZ1gY864";
- var opt = {polling: true};
- var bot = new TelegramBot(token, opt);
-
- bot.on('message', function (msg) {
- console.log(msg);
- var id = msg.chat.id;
- var echo = msg.text;
-
- bot.sendMessage(id, echo);
- }); \ No newline at end of file