Telegram Link: http://t.me/sticker_time_bot
This is a Telegram bot sending a sticker telling time every hour. You can start or stop any time using commands.
Start sending stickers: /start
Stop sending stickers: /stop
Set timezone: /timezone Asia/Shanghai
List of timezones in tz database: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
Enable/Disable auto deleting messages: /autodelete [on|off]
Set sleep time: /sleeptime [0-23]
Set wake time: /waketime [0-23]
- Node.js 8.0+
npm install
Create a file config.json:
{
"tg_bot_token": "Your Telegram bot token here",
"log_file": "Log file"
}
npm start