Code Golf Telegram Bot (can be used with any programming language)
With this bot you can make code golf competitions via telegram.
- Install Perl 6
- Install Docker
- Install Zef
zef install --deps-only --force-test .
zef install App::Prove6
prove6
should pass all testsperl6 bin/golfbot.pl6 --tg-token='MY-KEY' --admins=user1,user2 --tests-docker-image="node:12-alpine"
- Create new telegram bot.
- Create common chat for all golf participants and the bot to it.
- Start new golf.
- Participants should submit there result directly to bot chat. Not in group chat!
- /submit
- /rating
- /submit
- /rating
- /startGolf
- /setGolfName
- /setGolfTests
- /ratingWithSources
- /notifyHere