Skip to content

coolsilon/bigmeow_bot

Repository files navigation

BigMeow bot

A dumb experimental bot done for no good reason

Invite live bot

What can BigMeow do?

NOTE: all ! commands can be replaced by / in telegram, e.g. /meowsay hello world.

Running bigmeow

Docker

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_TOKEN=<DISCORD TOKEN>
DISCORD_USER=<OWNER DISCORD ID>

TELEGRAM_TOKEN=<TELEGRAM TOKEN>
TELEGRAM_USER=<OWNER TELEGRAM CHAT ID>
TELEGRAM_WEB_TOKEN=<TOKEN FOR TELEGRAM WEBHOOK REQUEST>

ECHO_TOKEN=<TOKEN FOR WEB ECHO REQUEST>

WEBHOOK_URL=<URL TO WEBHOOK>

WEB_SECRET_PING=<SECRET PING WEBHOOK TO FOR UPTIME CHECK>
WEB_EECRET_PASSWORD=<TOKEN FOR SECRET PING WEBHOOK>

DEBUG=<True IF RUNNING LOCALLY OTHERWISE False>

IFTTT_KEY=<IFTTT_TOKEN>

DATABASE_URL=postgresql+psycopg://<DATABASE_USER>:<DATABASE_PASSWORD>@<DATABASE_HOST>:<DATABASE_PORT>/<DATABASE_NAME>

Python

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

Optionally, you can run the application with the following options:

  • --notg to run without a telegram bot
  • --nodiscord to run without a discord bot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages