|
il y a 5 ans | |
---|---|---|
src | il y a 5 ans | |
.gitignore | il y a 5 ans | |
ChangeLog.rst | il y a 5 ans | |
LICENSE | il y a 5 ans | |
README.md | il y a 5 ans | |
cameron.asd | il y a 5 ans | |
dockerfile | il y a 5 ans | |
qlfile | il y a 5 ans | |
qlfile.lock | il y a 5 ans | |
start.sh | il y a 5 ans | |
stop.sh | il y a 5 ans |
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.