/sticker_time_bot

Telegram bot to send sticker telling time every hour

Primary LanguageJavaScriptMIT LicenseMIT

Sticker Time Bot

Telegram Link: http://t.me/sticker_time_bot

Introduction

This is a Telegram bot sending a sticker telling 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]

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