Skip to content
This repository has been archived by the owner on Oct 24, 2018. It is now read-only.

Latest commit

 

History

History
104 lines (91 loc) · 6.84 KB

README.md

File metadata and controls

104 lines (91 loc) · 6.84 KB

PokecordCatcher

Getting Started

You can clone this repo, or hit the big green download button on the top right.

You can also join the support server here.
Please join this server only with an account that you do not plan to use with this catcher, as it has a high chance of being banned.

Verification and Test Phase

When you start the bot for the first time, you are registered for a test phase that lasts for 1hr 30mins, in this time you can freely use the bot as you please.
After the test phase is over you will have to verify your catcher account.
To do this, join this server with the account you want to run catcher on.
Wait for our bot to PM you, so please keep PMs from anyone enabled.
After our bot has PMed you, follow the instructions to get verified, any problems with verification can be handled and taken up with Demo#9465.

Setting Up

  1. You need to have python 3.6 or newer to be able to run this on your device. grab python here.
  2. While installing this make sure you tick to install python in PATH, and the option to insall the 'py launcher'.
  3. Once this is done, run setup.bat as administrator. This should install all the required dependencies for running the bot.
  4. You will require the token of the account you want to run this bot on, it's better if it's an alt as selfbots violate ToS and you can get banned.
    To grab your token visit Token Tutorial.

Config

Open edit-this-example-config.json up with any text editor, now put your token in the "".
After you are done editing this config, please rename the file to config.json.
Other options in config are:

  • priority: In this list you can add pokemon that bypass the catch rate, pokemon that you absolutely want to catch.
  • catch_rate: This is a percent out of 100.
  • delay: A delay in seconds to try and catch a pokemon after PokeCord spawns one.
  • delay_on_priority: This can be set to true or false. True means delay will still apply on priority pokemon, false means an instant catch.
  • priority_only: Setting this to true means only priority pokemon will be caught.
  • avoid_list: A list just like priority, add names of pokemon you want the bot to ignore.
  • whitelist_channels: A list of channel IDs, so the bot will only catch pokemon on these channels.
  • blacklist_channels: A list of channel IDs, so the bot will catch in all channels except these.
  • verbose: Setting this to true will add a bit more info to the console when a pokemon spawns, i.e if pokemon was skipped and where the bot tried to catch a pokemon (server and channel name).
  • NOTE: Only one of whitelist or blacklist can have channel IDs at a time, the other needs to be empty
  • TIP: There are two ways to find a channel's ID, either go to the channel, tag the channel with a #, then add a \ to it, ex: \#general, it will present a number in <>, that number is a channel ID you can use.
    • The second way is to go to discord settings > Appearance > Scroll down and enable Developer Mode, then you can right click on a channel in the left side channel bar and click Copy ID.
  • spammers: A list of tokens for spammer accounts. You MUST make sure the spammers in here all have unique and non similar names to each other.
  • controller: this is an account ID for the account that can give commands to your duelers or spammers. An account ID can be retrieved using the method in the tip above, just send a message, then right click on the account in the message and copy ID.
  • duel_starter: A list of of account Ids and tokens for duel starter accounts. for example.
    [[id1, token1], [id2, token2], [id3, token3]]
  • duel_accepter: Same format as duel_starter, but these accounts will accept duels from starters only.
  • duel_channels: A list of channels each pair will duel in, this should coincide with the order of duel ids/tokens, id1:token1 starter will duel id1:token1 accepter in channelid1. Example: [channelid1, channelid2, channelid3]

Example config:

{
  "token": "<your token>",
  "priority": ["Groudon", "Geodude"],
  "catch_rate": 90,
  "delay": 2,
  "delay_on_priority": true,
  "priority_only": false,
  "avoid_list": ["Rattata", "Poochyena"],
  "whitelist_channels": [369081842038603776, 369081842038603779],
  "blacklist_channels": [],
  "spammers": ["MjAzOMzE4MTUwOTU1MDA4.DhTj7g.XLuUPCKUGbr9AIgWZ5F-y-Iynas",
  "MTkxNjA0MTM2OTQzMjg4w.DhTkHQ.NL6xqM3Gd1m-9fWWKrBETumzcIw"],
  "controller": 203819318150955008,
  "duel_starters": [[4614564781424640, "NDYxNDU2NDcxOTgxNDI0NDhTlDQ.3PWYIwnt7v4gGGfjUDgy7z1AqnI"],
                    [4593307651436554, "NDU5MzMwNzU1DM2NTU0.DhTjSg.cEX2RS7EwrtA5Q4Cj1z1fmt5_IY"]],
  "duel_accepters":[[461458938483211, "NDYxNDU4MDc3OTM4NDgzMjEx.Dhw.7MZ2M26M8BfNMsUCZK6wjsfQgTs"],
                    [191604133288320, "MTkxNjAOTQzMjg4MzIw.DhTkHQ.NL6xqM3Gd1m-9fWWKrBETumzcIw"]],
  "duel_channels": [461455567862274, 46229604275200]
}

You can use this as a reference to modify your config.json.

Spammer Accounts

These will accept commands from the controller account. A command is given by @tag commandname.
To start spam in a channel, tag the account and say 'hi', alternatively to stop do the same but say 'bye'. The accounts will automatically accept trades when you confirm your trade Other commands:

  • add : Use this to queue up pokemon you want to level.
    The format is @tag add number target number2 target2 number3 target3.
    Example: @tag add 1 45 2 60 3 100
  • list : Use this to show you what number pokemon are queued for what target level.
    Example: @tag list
  • remove: Use this to remove numbers from the levelling queue.
    Example: @tag remove 1 7
  • mimic: This means if your text after the tag is none of the above commands, the account will repeat what you say Example @tag p!p add 2

Dueler Accounts

These will start dueling as soon as the bot starts them. Duelers also always use move 1 in battles, if changing this is a feature people want it can be implemented if enough people need it.
The only command available is mimic, which is exactly like the mimic from Spammers

PRO: Tips

  • Remove Create Instant Invite and Read Message History Permissions from the Pokecord Bot.
  • Keep channels separate and organized to prevent any interference with the running bots
  • Use the redirect spawns feature and whitelist that channel in the config to not let your bot accidentally catch on different servers and also help keep it neat!

Running the bot

Run run.bat.

Quitting the bot

You can press Ctrl + C in the console window to quit the bot.
Alternatively if this doesn't work, run quit.bat

Bug reports and problems

Please open an issue on this repo, you can do this from the issues tab on the top and I'll take a look at it when I can.