Gamble Commands

class GambleCommands[source]
Gamble Commands are the core commands for PokeGambler.
Currently, the only available command is the Gamble command itself.
cmd_gamble()[source]
Parameters
  • message (discord.Message) – The message which triggered this command.

  • fee (Optional[int]) – The fee to be charged for the gamble.

  • lower_wins (Optional[bool]) – Whether or not the lower number card wins.

  • max_players (Optional[int]) – The maximum number of players allowed.

Syntax

/gamble [fee:chips] [lower_wins:True/False] [max_players:number]

Description

🎲 Dealer Command Roll random pokemon themed cards for a fee and winner takes it all. If a fee is not specified, defaults to 50 Pokechips. To make the lower card win, use the option lower_wins.

Note

A small transaction fees will be levyed before crediting the winner. This fee scales with number of players, if above 15.

Examples

  • To gamble with default settings

/gamble
  • To gamble for 1000 Pokechips

/gamble fee:1000
  • To gamble in lower_wins mode

/gamble lower_wins:True

Aliases

deal, roll

Models

Profiles, Matches, Loots

Parameter Config

Fee

Default

Min_Value

50

50

Lower_Wins

Default

False

cmd_quickflip()[source]
Parameters
  • message (discord.Message) – The message which triggered this command.

  • amount (Optional[int]) – The amount to use for the flip.

Syntax

/quickflip [amount:chips]

Description

A quick way to x2 your pokechips (or halve it). If no amount is specified, 50 chips will be used by default. Minimum 50 chips and maximum 9999 chips can be used.

Examples

  • To flip for 50 Pokechips

/flip
  • To flip for 1000 Pokechips

/flip amount:1000

Aliases

flip, chipflip, flips

Models

Flips, Profiles

Parameter Config

Amount

Default

Min_Value

Max_Value

50

50

9999

cmd_matches()[source]
Parameters
  • message (discord.Message) – The message which triggered this command.

  • quantity (Optional[int]) – The number of matches to show.

  • verbose (Optional[bool]) – Whether to show the full match details.

Syntax

/matches [quantity:number] [verbose:True/False]

Description

Lists out the results of latest gamble matches. If no quantity is given, defaults to 10. If verbose option is used, lists the mode and if joker spawned.

Examples

  • To list latest matches

/matches
  • To list latest 5 matches

/matches quantity:5
  • To see if Joker spawned in last 5 matches

/matches quantity:5 verbose:True

Parameter Config

Quantity

Default

Min_Value

Max_Value

10

1

50

Verbose

Default

False

cmd_whackamole()[source]
Parameters
  • message (discord.Message) – The message which triggered this command.

  • difficulty (Optional[int]) – The level at which you wanna play.

Syntax

/mole [difficulty:level]

Description

Find the hidden chip for a chance to win a jackpot.
If no amount is specified, 50 chips will be used by default.
Minimum 50 chips and maximum 9999 chips can be used.
You can choose difficulty level (default 1) and rewards will scale.

╔═══════╦═══════╦══════╦════════╗
║ Level ║ Board ║ Cost ║ Reward ║
╠═══════╬═══════╬══════╬════════╣
║   1   ║  3x3  ║   50 ║   x3   ║
║   2   ║  4x4  ║  100 ║   x4   ║
║   3   ║  5x5  ║  150 ║   x10  ║
║   4   ║  6x6  ║  200 ║   x50  ║
║   5   ║  7x7  ║  250 ║   x100 ║
╚═══════╩═══════╩══════╩════════╝

Examples

  • To play with the default difficulty (level 1)

/mole
  • To play the extreme mode (level 5)

/mole difficulty:5

Aliases

mole, whack, moles

Models

Moles, Profiles

Parameter Config

Difficulty

Default

Min_Value

Max_Value

None

1

5