Skip to content

yulrizka/fam100

Repository files navigation

Fam100

Famm100 is a text game go application to play "Family Feud". Currently playable for telegram. Start playing at famili100 channel

screenhost

Start the game with /join command. After enough people join and reach the quorum, the bot will start the game by delivering questions. People can immediately join the game and answer the questions.

Requirement

  • Redis

Setup

First you need to acquire TELEGRAM_KEY from telegram

Docker

To run the bot with docker, update docker-compose.yml with your TELEGRAM_KEY. Replace "${TELEGRAM_KEY}" with the bot token you acquired before (eg "abcdefg1234")

$ docker-compose up --build

Normal go build

$ go build ./cmd/telegram
$ TELEGRAM_KEY="YOUR_TELEGRAM_KEY" ./telegram

Bot development

If you are interested in developing bot your self with GO, This bot is using lib https://github.com/yulrizka/bot. The library enables bot development as plugin and currently support multiple chat platform such as Telegram and Slack.

Contributors

  • Ahmy Yulrizka (@yulrizka)