Skip to content
Guess song by part of music - a Telegram bot
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.env.example
.gitignore
LICENSE
README.md
game.go
genres.ini
main.go
run.sh
schema.sql
update.sh

README.md

KnowMusicBot - a bot for Telegram Messanger

Bot sends short part of random music and provides 5 options of titles to answer. The first player who answers right gets +1 point. If player's answer is wrong, he gets -1 point.

Bot works in inline mode. Any user in any chat can start the game typing @KnowMusicBot .

Run

  1. Create a new MySQL database using schema.sql
  2. Fill table music with some titles
  3. Create a new bot using @BotFather. Save the token
  4. Copy .env.example to .env
  5. Edit .env. Provide mysql credentials and token of your bot.
  6. Run go get ./... && go build && ./know-music-bot

License

The MIT License

You can’t perform that action at this time.