A utility and entertainment multi-chat Twitch bot. The bot is built in Java, Gradle and uses Twitch4j as the Twitch API. This project is for me to learn more about Java and all its tricks.
- PostgreSQL 15
- JDK 17
git clone https://github.com/ilotterytea/bot.git -b 1.5.0
cd bot
./gradlew shadowJar
cd build/libs
Replace the fields DATABASE_NAME
, USERNAME
, PASSWORD
.
twitch.token=XXXXXXXXXXXXXXXXXXXXXXXX
hibernate.connection.url=jdbc:postgresql://localhost:5432/DATABASE_NAME
hibernate.connection.username=DB_USERNAME
hibernate.connection.password=DB_PASSWORD
The
twitch.access_token
is the bot's token received when logging into the application from the bot's account. Token must grant rightsmoderator:read:chatters
, otherwise will not work!massping
,MASSPING
flag for stream events. Also, the bot must be a moderator on channels that run massping related commands.
java -jar bot-1.5.0-all.jar