-
Notifications
You must be signed in to change notification settings - Fork 24
TradeCord
My dumbest and messiest project so far. Users can "catch" wild Pokémon, breed random or specific eggs, check various lists, gift their "catches" to others, and trade their "catches" to Sword and Shield.
TradeCordChannels - TradeCord is a queue type where a user can type $k or $catch to "catch" a random Pokémon, similar to Varubot/Pokécord. This option allows you to specify channel ID(s) separated by commas to restrict the command usage to (to have a less-busy channel for chatter, for instance). If blank, it's unrestricted.
TradeCordCooldown - Allows you to set up a cool down for the command to prevent massive spam. Default is 60 (60 seconds). If 0, there's no cool down (not recommended).
UseFullSizeImages - If True, will use full-size catch images from ProjectPokémon. Otherwise will use downsized images.
UseLargerPokeBalls - If True, will use Poké Ball images set as thumbnail. Otherwise will set image as author icon.
ConfigUpdateInterval - How often you want your config to be automatically saved (in seconds).
Commands:
-
$catch / $k- Will "catch" a random Pokémon with an optional (but highly recommended) cool down. -
$tc <catch id> / $tc <link code> <catch id>- Trade a catch. File will be moved to a backup folder just in case. -
$tis- Set custom trainer info via an attached.pk8file. Type$tis, attach a file, send as one message. Bot will automatically set trainer info. -
$ti- Display currently set trainer info. -
$list <name/shinies/all/egg/ball> / $l <name/shinies/all/egg/ball>- Displays a list of specific species or a list of shinies a user has. -
$dc- Display daycare. -
$dc w <catch id or "all"> / $dc withdraw <catch id or "all">- Withdraw a specific Pokémon from daycare, or withdraw everything. -
$dc d <catch id> / $dc deposit <catch id>- Deposit a specific Pokémon to daycare. -
$release <catch id> / $r <catch id>- Release a specific Pokémon. File will be deleted. -
$massrelease <optional species-form, cherish or shiny>/ $mr <optional species-form, cherish or shiny>- Will release everything that's not shiny, not a Ditto, not in a Cherish Ball, not in favorites, and not in daycare. If species and/or form specified, will release just that (still obeys prior criteria). Files will be deleted. -
$info <catch id> / $i <catch id>- Displays a Showdown set for a specific Pokémon. -
$gift <catch id> <@user> / $g <catch id> <@user>- Gift a Pokémon to another user. If the receiving user has fewer than 10 Dex completions and hasn't registered the Pokémon being gifted, it will be registered to their Dex. -
$fav- Displays a list of favorite Pokémon. -
$fav <catch id or "clear">- Adds a Pokémon to favorites (or removes it if it's already added to favorites). If keyword "clear" is entered, it will unfavorite everything. Favorite Pokémon cannot be released or mass released. -
$dex <optional "missing" parameter>- Shows your TradeCordDex progress (catches, level), or a list of Pokémon you haven't caught yet. Whenever a full dex is completed, level is increased. Levels can be used as points for perk selection. -
$perks- Display available perks and point investment into each one. -
$perks <clear, or perk and amount of points>-$perks clearwill remove all assigned points for redistribution.$perks cherishboost 5will add 5 points (if available) to overall mystery gift roll chance. -
$boost <Pokémon>- Will boost the catch rate of a particular Pokémon, if at least oneSpeciesBoostperk has been added.$boost Charizardwould slightly increase the chance of Charizard appearing. -
$buddy- Will display active buddy if you have one. If the buddy is an egg, it will hatch after a little while. -
$buddy <id>- Will set the specified catch ID as your active buddy. -
$buddy remove- Will remove the active buddy. -
$nickname <some text, or "clear">- Will nickname an active buddy. If keyword "clear" is used, it will remove the nickname. -
$evolve <optional parameter with item name or Alcremie form>- Will evolve your active buddy, if applicable. To use an evolution item, specify an item name. To specify an Alcremie form if evolving Milcery, type in the form (e.g.Ice Stonefor a usable item,Caramel Swirlfor an Alcremie form; e.g.$evolve galarica cuffto evolve a Slowpoke-Galar to Slowbro-Galar). -
$giveitem <item name>- Will give an item for your buddy to hold. Some evolutions require held items (e.g.$giveitem ice stone). -
$takeitem- If your buddy is holding an item, it will remove it and place it back to your "pouch". -
$giftitem <item name> <item count> <user mention>- Will gift an X amount of a specified item to the mentioned user (e.g.$giftitem ice stone 5 @user). -
$itemlist/$il <item name or "all">- Similarly to$list, it will display items in your "pouch" (e.g.$list ice stone). -
$dropitem/$drop <item name or "all"- Will remove all of the specified item, or every single item you have (e.g.$drop ice stone). -
$timezone/$tz <UTC time offset>- Will set the UTC time offset to the specified value. Can find out your offset by subtracting the local time from standard UTC time (e.g.$tz -5).
Sudo/Owner commands:
-
$du <user ID>- Owner command that will delete the specified user (files and user configuration entry). This cannot be reversed. -
$mc <user mention>- Sudo command that will un-mute the mentioned user if they tripped the self-bot detection and failed to react.
Filters: Filters were added to further narrow down searches. There are two: =shiny and =ball. For example, $list Gardevoir =shiny =love will display only shiny Gardevoirs in a Love Ball.
Note on daycare: You can deposit two Dittos to "breed" random Pokémon, a Ditto and a Pokémon that can be an egg, or two of the same evolution line Pokémon can be eggs to "breed" specific Pokémon. Both parents have a 50% chance to pass their ball, and egg shiny chance is increased if both parents are shiny. I know, none of this makes sense.
Note on evolutions: While they loosely follow the in-game rules, some have been simplified and adapted for Discord use. I'll leave it up to you to discover some.
Some command examples: $list Tapu Lele, $list Vulpix-Alola =shiny, $g 100 @SomeUser.