imxieyi / Sticker_time_bot
Licence: mit
Telegram bot to send sticker telling time every hour
Stars: ✭ 109
Programming Languages
javascript
184084 projects - #8 most used programming language
Sticker Time Bot
Telegram Link: http://t.me/sticker_time_bot
Introduction
This is a Telegram bot sending a sticker indicating time every hour. You can start or stop any time using commands.
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
Environment
- Node.js 8.0+
Installation
npm install
Configuration
Create a file config.json:
{
"tg_bot_token": "Your Telegram bot token here",
"log_file": "Log file"
}
Start
npm start
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].