Giter VIP home page Giter VIP logo

unoxwolf's Introduction

UnoxWolf Telegram Bot

UnoxWolf is a Telegram bot to moderate Unoxian Werewolf games. It is currently in development.

Getting Started

Make a copy of the example.env file and rename it to .env. Fill in the values for the environment variables.

cp example.env .env

Environment Variables

Variable Type Default Description
NODE_ENV String - Application environment (development or production)
BOT_TOKEN String - Token, get it from @BotFather.
BOT_WEBHOOK String - Webhook endpoint, used to configure webhook in production environment.
LOG_LEVEL String info Optional. Application log level. See Pino docs for a complete list of available log levels.
BOT_SERVER_HOST String 0.0.0.0 Optional. Server address.
BOT_SERVER_PORT Number 80 Optional. Server port.
BOT_ALLOWED_UPDATES Array of String [] Optional. A JSON-serialized list of the update types you want your bot to receive. See Update for a complete list of available update types.
BOT_ADMIN_USER_ID Number or Array of Number [] Optional. Administrator user ID. Commands such as /setcommands will only be available to a user with this ID.

Acknowledgements

The initial template for this project was adapted from Telegram Bot Template

The mechanics of the game are inspired by the One Night Ultimate Series by Ted Alspach and Akihisa Okui.

The infrastructure behind the game is adapted from that used in Werewolf for Telegram

unoxwolf's People

Contributors

shaunnope avatar

Watchers

 avatar

Forkers

tele-app-bot

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.