This is telegram bot that counts votes. It accepts votes only from certain members and prohibits re-voting. All statistic write in file vote status.txt
.
- First of all you need JDK. Download it you can here.
- Also you need Maven. Download it you can here.
- Set-up.
- Write in Telegram to
@BotFather
. Write/start
and then/newbot
. - Follow the instructions to get token.
- Open
config.properties
and set the parameters according to the instructions. - There you need to type your token and bot name in the appropriate fields.
- Write in Telegram to
- Launch
- If you using windows launch
start.bat
. - If you using linux launch
start.sh
.
- If you using windows launch
- Add live voting on website.