Telegram Link: http://t.me/sticker_time_bot
This is a Telegram bot sending a sticker indicating 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]
Delete sleep and wake time: /nosleep
Add hour to alarm list: /addhour [0-23]
Delete hour from alarm list: /delhour [0-23]
List hours in alarm list: /listhours
Clear alarm list: /clearhours
- 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