Skip to content

huiyiqun/zaobot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZAO

This is a long long story which started from a man who engraved a "" on his desktop. Since then, there has been so many warriors who try to write "" to any place...

This is a telegram bot which allows you to say hello to the world and know the number of people who wake up ealier than you.

In fact, this bot is pluggable, and easy to write plugins to implement time-related jobs.

Requirements

Python3 needed.(tested on python3.5)

Installation

(on Archlinux)

$ git clone <this repo>
$ cd zaobot
$ virtualenv3 venv
$ . ./venv/bin/activate
(venv)$ pip install -r requirements.txt

Create a new bot and retrieve token from BotFather and then save the token to token.txt

(venv)$ python start.py

TODO

  • persistent storage with redis
  • flush messages when booting
  • list time of waking
  • recognize user with avatar
  • random time to start a new day

About

A telegram bot to reply to /zao

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages