Sign inSign up

derogab/clownbot

By derogab

•Updated over 2 years ago

A clown bot to cheer up conversations in own chat groups

Image
0

3.1K

derogab/clownbot repository overview

⁠CLOWNBOT

A telegram bot to cheer up conversations in own chat groups

Docker Pulls ⁠ ⁠

⁠Introduction

Birth: This bot was born for fun purposes in my university group chat.

⁠Configuration

Copy .env.tpl template in .env with your info.

⁠Extra

Copy extra.js.tpl template in extra.js to add extra features.

⁠Start

⁠From source

Install dependencies

npm install

and then start the bot

npm start
⁠Using Docker
⁠w/ one-line command
docker run \
  -dit \
  --restart=always \
  --mount type=bind,source=/path/to/host/private/,target=/bot/private \
  -e "TELEGRAM_BOT_USERNAME=YOUR_BOT_USERNAME_HERE" \
  -e "TELEGRAM_BOT_API_TOKEN=YOUR_BOT_TOKEN_HERE" \
  -e "TELEGRAM_ALLOWED_USERS=FIRST_ALLOWED_USER_ID,SECOND_ALLOWED_USER_ID,..." \
  -e "GIPHY_API_KEY=YOUR_GIPHY_API_KEY_HERE" \
  derogab/clownbot

Replace /path/to/host/private/ with absolute path to your private folder (containing extra) and other configs.

⁠w/ docker-compose
docker-compose up -d
⁠License

Clownbot is made with ♥ by derogab⁠ and it's released under the MIT license.

Tag summary

Content type

Image

Digest

sha256:3f84db4a9…

Size

51.4 MB

Last updated

over 2 years ago

docker pull derogab/clownbot