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
- Create a new MySQL database using
schema.sql
- Fill table
music
with some titles - Create a new bot using @BotFather. Save the token
- Copy
.env.example
to.env
- Edit
.env
. Provide mysql credentials and token of your bot. - Run
go get ./... && go build && ./know-music-bot
License
The MIT License