https://github.com/derogab/clownbot
A telegram bot to cheer up conversations in own chat groups.
https://github.com/derogab/clownbot
bot clown hacktoberfest telegram telegram-bot
Last synced: 5 months ago
JSON representation
A telegram bot to cheer up conversations in own chat groups.
- Host: GitHub
- URL: https://github.com/derogab/clownbot
- Owner: derogab
- License: mit
- Created: 2019-10-30T16:05:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-09-06T16:56:09.000Z (10 months ago)
- Last Synced: 2025-09-06T18:37:19.620Z (10 months ago)
- Topics: bot, clown, hacktoberfest, telegram, telegram-bot
- Language: JavaScript
- Homepage:
- Size: 331 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
CLOWNBOT
A telegram bot to cheer up conversations in own chat groups
## 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](https://github.com/derogab) and it's released under the MIT license.