Trade Commands¶
- class TradeCommands[source]¶
Commands that deal with the trade system of PokeGambler. Shop related commands fall under this category as well.
- cmd_buy()[source]¶
- Parameters
message (
discord.Message
) – The message which triggered this command.itemid (str) – The ID of the item to buy.
quantity (Optional[int]) – The quantity of the item to buy.
Syntax
/buy itemid:Id [quantity:number]
Description
Buys an item from the Shop. You can provide a quantity to buy multiple items. To see the list of purchasable items, check the
Shop
.Examples
To buy a Loot boost with ID boost_lt
/buy itemid:boost_lt
To buy 10 items with ID 0000FFFF
/buy itemid:0000FFFF quantity:10
Models
Parameter Config
¶ Min_Value
Default
1
1
- cmd_deposit()[source]¶
- Parameters
message (
discord.Message
) – The message which triggered this command.
Syntax
/deposit
Description
Deposit other currencies to exchange them for Pokechips.
Aliases
- cmd_details()[source]¶
- Parameters
message (
discord.Message
) – The message which triggered this command.itemid (str) – The ID of the item to get details for.
Syntax
/details itemid:Id
Description
Check the details of a PokeGambler item, like
Description
Price
Category
Examples
To check the details of an Item with ID 0000FFFF
/details itemid:0000FFFF
Aliases
- cmd_exchange_rates()[source]¶
- Parameters
message (
discord.Message
) – The message which triggered this command.pokebot (Optional[str]) – The name of the Pokebot to get the rates for.
Syntax
/exchange_rates [pokebot:Name]
Description
Check the exchange rates for different pokebot credits.
Examples
To check the exchange rates for all the bots
/exchange_rates
To check the exchange rates for PokeTwo
/rates pokebot:pokétwo
Aliases
- cmd_give()[source]¶
- Parameters
message (
discord.Message
) – The message which triggered this command.chips (int) – The amount of chips to transfer.
user (
discord.Member
) – The user to transfer the chips to.
Syntax
/give chips:Amount user:@User
Description
Transfer some of your own Pokechips to another user.
Warning
If you’re being generous, we respect you. But if found abusing it, you will be blacklisted.
Examples
To give user ABCD#1234 500 chips
/give chips:500 user:ABCD#1234
Aliases
Models
Parameter Config
¶ Min_Value
10
- cmd_ids()[source]¶
- Parameters
message (
discord.Message
) – The message which triggered this command.item_name (str) – The name of the item to get IDs for.
Syntax
/ids item_name:Name
Description
Get a list of IDs of an item you own using its name.
Examples
To get the list of IDs for the Common Chest
/ids item_name:Common Chest
- cmd_inventory()[source]¶
- Parameters
message (
discord.Message
) – The message which triggered this command.
Syntax
/inventory
Description
Check your inventory for collected Chests, Treasures, etc.
Aliases
- cmd_open()[source]¶
- Parameters
message (
discord.Message
) – The message which triggered this command.itemid (Optional[str]) – The ID of the item to open.
item_name (Optional[str]) – The name of the item to open.
quantity (Optional[int]) – The number of items to open.
Syntax
/open (itemid:Id or item_name:Name) [quantity:Number]
Description
Opens any of these that you own
There are 3 different chests and scale with your tier. Here’s a drop table
╔════╦═════════╦═════════╦════════════╗ ║Tier║ Chest ║Drop Rate║ Pokechips ║ ╠════╬═════════╬═════════╬════════════╣ ║ 1 ║ Common ║ 66% ║ 34 - 191 ║ ║ 2 ║ Gold ║ 25% ║ 192 - 1110 ║ ║ 3 ║Legendary║ 9% ║1111 - 10000║ ╚════╩═════════╩═════════╩════════════╝
Lootbags are similar to Chests but they will contain items for sure. They can either be Normal or Premium. Premium Lootbag will contain a guaranteed Premium Item. All the items will be of a separate category. Reward Boxes are similar to Lootbags but the items are fixed.
Examples
To open all Common Chests
/open item_name:common chest
To open 3 Gold Chests
/open item_name:gold chest quantity:3
To open a lootbag/reward box with ID 0000AAAA
/open itemid:0000AAAA
Models
Loots
,Profiles
,Chest
,Inventory
Parameter Config
¶ Min_Value
1
- cmd_redeem()[source]¶
- Parameters
message (
discord.Message
) – The message which triggered this command.code (str) – The code to redeem.
Syntax
/redeem code:Code
Description
Redeem the webshop code for rewards.
Examples
To redeem the code 0000AAAA
/redeem code:0000AAAA
Models
- cmd_redeem_chips()[source]¶
- Parameters
message (
discord.Message
) – The message which triggered this command.chips (int) – The chips of chips to redeem.
Syntax
/redeem_chips chips:amount
Description
Redeem your pokebonds as x10 pokechips.
Examples
To redeem 500 pokechips
/redeem_chips chips:500
Parameter Config
¶ Min_Value
10
- cmd_sell()[source]¶
- Parameters
message (
discord.Message
) – The message which triggered this command.itemid (Optional[str]) – The ID of the item to sell.
item_name (Optional[str]) – The name of the item to sell.
quantity (Optional[int]) – The quantity of the item to sell.
Syntax
/sell (itemid:Id or item_name:Name) [quantity:value]
Description
Sells a
Tradable
from your inventory to the PokeGambler Shop. You can either provide a name or an itemid. If name is provided, you can sell multiples by specifying quantity.Note
Tradable
items aren’t yet implemented.Note
Quantity option is ignored if itemid is provided. Only one is sold.
Examples
To sell an item with ID 0000FFFF
/sell itemid:0000FFFF
To sell 10 Gears (Tradables)
/sell item_name:Gear quantity:10
Models
Parameter Config
¶ Min_Value
Default
1
1
- cmd_shop()[source]¶
- Parameters
message (
discord.Message
) – The message which triggered this command.category (Optional[str]) – The category of items to display.
premium (Optional[bool]) – Whether to display premium items.
Syntax
/shop [category:Name] [premium:True/False]
Description
Used to access the PokeGambler
Shop
. If a category is provided, list of items will be shown. Otherwise a list of categories will be displayed. To access the secret shop, use the Premium option.Note
You need to own PokeBonds to access the Premium Shop.
Examples
To view the shop categoies
/shop
To view the shop for Titles
/shop category:Titles
To view the Premium shop for Gladiators
/shop category:Gladiators premium:True
Models
Parameter Config
¶ Default
False
- cmd_use()[source]¶
- Parameters
message (
discord.Message
) – The message which triggered this command.ticket (str) – The ID of the ticket to use.
Syntax
/use ticket:id
Description
Use a consumable ticket and trigger it’s related command.
Examples
To use the Background Change ticket with ID FFF000
/use ticket:FFF000
Models
- cmd_withdraw()[source]¶
- Parameters
message (
discord.Message
) – The message which triggered this command.
Syntax
/withdraw
Description
Exchange Pokechips as other pokemon bot credits.
Aliases