haller218 57816c1454 not need more script | 4 years ago | |
---|---|---|
src | 4 years ago | |
.gitignore | 4 years ago | |
ChangeLog.rst | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
cameron.asd | 4 years ago | |
dockerfile | 4 years ago | |
qlfile | 4 years ago | |
qlfile.lock | 4 years ago | |
start.sh | 4 years ago | |
stop.sh | 4 years ago |
See the Telegram Bot API, CL-Telegram-API
This Bot uses CLOS to build a processing pipeline.
frist of all check if your machine have SBCL, quicklisp (in your .sbclrc file too)
add cl-telegram-bot to your local-projects
$ cd ~/quicklisp/local-projects
$ git clone https://github.com/40ants/cl-telegram-bot.git
install the package "cl-telegram-bot/core"
$ sbcl
* (ql:quickload "cl-telegram-bot/core")
then
begin set the variable and export in your local .bashrc (or in your others shell bashs)
export API_TELEGRAM_BOTNET="youid:keyfrombotfather"
or just
$ echo 'export API_TELEGRAM_BOTNET="youid:keyfrombotfather"' >> /home/$USER/.bashrc
$ source ~/.bashrc
Now run inside Cameron folder
$ sh start.sh
Now, apreciate and Hack Your Own bot make in Common Lisp.