A telegram bot to send jokes daily and on demand [NSFW]
- Pluggable feeds, ie you can use it for any feed you want
- Ability to fetch from the RSS feed of multiple subreddits
- Time sync, so you always get the most latest feed
- Random emoji injector
- Scheduled Cron
- Register and Unregister from updates
- Photographic memes and written jokes parity
---
-
Set up
.env
using the .env.example provided in this repo. -
Which subreddits to serve depend on the env
-
Run natively:
go build -o ./bin/chutkulabot main.go
./bin/chutkulabot
- Run in a container using docker
docker image build -f Containerfile -t chutkulabot .
docker container run --name chutkula -d chutkulabot
- Run in a container using podman
podman image build -t chutkulabot .
podman container run --name chutkula -d chutkulabot
Command | Description |
---|---|
/hi | Greet the bot |
/register | The first command you should run. Registers you for receiving joke updates and synced jokes every 6 hours |
/jokes | Get jokes based on the last fetch timestamp (ensures uniqueness) |
/time | Get last updated at timestamp |
/lol | Get jokes not based on the last fetch timestamp |
/unregister | Unregister from the 6 hourly updates. Not recommended for /jokes |
/sorry | View apology message |
/caughtup | View caught up message |
Made with ❤️ by Angad Sharma