A node.JS bot based on telegraph to manage deadlines
Install node dependencies with
npm install
then create config.js
file at the root of the project and add :
module.exports = {API_KEY: 'YOUR BOT API KEY HERE'};
create also the data/data.json
file and add :
{}
finally launch the bot with telegram-deadline-bot.js
file
All commands are done in Telegram
When you add the bot in a group, you have to claim your rights by typing
/start
Then this command will display the list of admins
/admin
Add a Telegram user ID to add it to the admin list
/admin <telegram_user_id>
/add your subject;DD-MM-YYYY;your theme or topic;false
/add your subject;DD-MM-YYYY;your theme or topic;true;filename
/list
/delete <deadline_number>
/ask <filename>
The Telegram-Deadlines-Bot picture located in data/ask/profile.jpg
, "Mädchen mit Wecker in Händen" is copyright (c) 2018 Marco Berch and made available under the Creative Commons 2.0 license