A dumb experimental bot done for no good reason
- On discord: https://discord.com/oauth2/authorize?client_id=990077535066935357
- On telegram: https://t.me/bigmeow_bot
!meowsay message
: your message will be repeated by a cute cat.!meowthink message
: your message will be thought by a cute cat.!meowpetrol
: BigMeow will attempt to report the current petrol price in Malaysia, data from https://data.gov.my/data-catalogue/fuelprice!meowfact
: Return a meow fact from https://github.com/wh-iterabb-it/meowfacts!meowisblocked domain.tld
: Perform a query to https://blockedornot.sinarproject.org/ to check if a domain is blocked in Malaysia!meowprompt prompt
: a reply to the supplied prompt, powered by https://ifttt.com/- If your message has a
meow
in it, a cat photo is fetched from https://cataas.com/
NOTE: all !
commands can be replaced by /
in telegram, e.g. /meowsay hello world
.
You can pull an image from https://hub.docker.com/r/jeffrey04/bigmeow_bot and supply the following environment variables to run the container.
DISCORD_APP_ID=<DISCORD APP ID>
DISCORD_APP_PUBLIC=<DISCORD APP PUBLIC KEY>
DISCORD_TOKEN=<DISCORD TOKEN>
DISCORD_USER=<OWNER DISCORD ID>
TELEGRAM_TOKEN=<TELEGRAM TOKEN>
TELEGRAM_USER=<OWNER TELEGRAM CHAT ID>
WEBHOOK_URL=<URL TO WEBHOOK>
DEBUG=<True IF RUNNING LOCALLY OTHERWISE False>
IFTTT_KEY=<IFTTT_TOKEN>
MEOW_THREADS=<True IF MULTITHREADING IS DESIRED OTHERWISE FALSE>
Project is developed with Python 3.11, and is managed by poetry. Refer to the previous section, and prepare a .env
file in the base project folder to populate the environment variables. Once prepared, install the project with
$ poetry install
Then run it with
$ poetry run python -m bigmeow.main