https://github.com/ilotterytea/not-milk
A silly minigame about drinking NOT milk.
https://github.com/ilotterytea/not-milk
bot milk rocket rust twitch
Last synced: about 1 month ago
JSON representation
A silly minigame about drinking NOT milk.
- Host: GitHub
- URL: https://github.com/ilotterytea/not-milk
- Owner: ilotterytea
- License: mit
- Created: 2023-03-03T13:07:04.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-10T15:44:22.000Z (about 3 years ago)
- Last Synced: 2025-06-30T07:48:02.559Z (12 months ago)
- Topics: bot, milk, rocket, rust, twitch
- Language: Rust
- Homepage: https://fem.ilotterytea.kz
- Size: 399 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NOT milk
A silly Twitch bot with a minigame about drinking NOT milk.
A web server with a peepo frontend included!!!
## Features
+ Drinking non-milk *(be careful, you may get real milk đą )*.
+ Store for fâââââ ââââs that boost your stats in the game and in real life *(WIP)*.
+ 'Femboy Hooters' *(at an early stage of development)*.
## Prerequisites
1. Rust Nightly
2. Diesel CLI `cargo install diesel_cli`
## Installation
1. Clone the repo:
```bash
git clone https://github.com/ilotterytea/not-milk.git
cd not-milk
```
2. Setup the environment variables:
*.env example:*
```env
DATABASE_URL=database.db
TWITCH_ACCESS_TOKEN=PUT_YOUR_TWITCH_ACCESS_TOKEN_HERE_FROM_YOUR_TWITCH_DEV_APPLICATION
TWITCH_BOT_NAME=PUT_THE_NAME_OF_YOUR_BOT
TWITCH_OAUTH2_TOKEN=PUT_THE_OAUTH2_TOKEN_OF_YOUR_BOT
BOT_NAME=THE_TWITCH_USERNAME_OF_YOUR_BOT
BOT_MAINTAINER=YOUR_TWITCH_USERNAME
BOT_ICON_URL=THE_ICON_URL_OF_THE_BOT
BASE_URL=BOT_WEBSITE_URL
```
*infrastructure/.env example:*
```env
DATABASE_URL=../database.db
```
3. Finish the installation:
```bash
cd infrastructure
diesel setup
cd ..
cargo run -p twitch-bot #IF YOU ONLY WANT TO RUN THE BOT
cargo run -p server #IF YOU ONLY WANT TO RUN THE WEBSERVER
```