Skip to content

Simple Telegram bot for displaying cute cat images; written in Haskell.

License

Notifications You must be signed in to change notification settings

sss-create/susengbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

susengbot

Simple Telegram bot for displaying cute cat images written in Haskell.

Find the channel here: https://t.me/suseng_channel

Documentation

Use with private bot token in data/token.txt. Create a Database in data/. Insert the desired chat_id in sendPhoto.

susengbot uses SQLite3 for storing image id and url. The Database table is created via the following command:

CREATE TABLE cats (
id text primary key,
url text,
date_added DATETIME default current_timestamp);

compile using cabal build, move the executable and add a cronjob for a daily picture:

16 11 * * * cd susengbot && ./susengbot

About

Simple Telegram bot for displaying cute cat images; written in Haskell.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published