Giter Site home page Giter Site logo

clownbot's Introduction

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.

clownbot's People

Contributors

dependabot[bot] avatar derogab avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.