Skip to content

Raid Bot

Lusamine edited this page Apr 10, 2023 · 10 revisions

This bot functions in Sword/Shield only.

It hosts raids and restarts the game once the raid is starting. It can be configured to add and delete friends in between raids.

Configuration

  • You must have ldn_mitm sysmodule installed to maintain bot connection to the Switch through restart. See Bot Startup for the required version.
  • Using hacked ROMs or extra settings (such as sideloading content via layeredfs) to create illegal raids frequently causes errors. This will not be supported by the program.
  • The friends list is not sorted by time added. To be fair, you may need to ensure that you are purging enough users to catch the oldest ones added. Adjust your add/remove settings appropriately. The bot cannot tell how many friends you have.
  • You need to use $echohere in your bot channel if you want it to announce Friend Code, Link Code, RaidDescription, and party members.
  • If your Raid Bot gets stuck on a particular screen, you should add extra time under Operation > Timings. Refer to the Settings page for more details.

Settings

  • TimeToWait: Set a time to wait (0-180 seconds) before attempting to start a raid. If the lobby fills up before this time is reached, the bot will try to start regardless.
  • MinRaidCode / MaxRaidCode: The bot will pick a Link Code between these two numbers. Set them to the same number to use a fixed code or -1 to use no Link Code.
  • RaidDescription: Optional description of the raid that is announced by the bot when the lobby opens. This will be inserted in "Raid lobby for RaidDescription is open with code: code." If nothing is added, it will use automatic detection to announce the raid Pokémon species.
  • FriendCode: If set, the bot will broadcast your Friend Code when it starts a raid if it is planning to add friends afterwards.
  • NumberFriendsToAdd / NumberFriendsToDelete: Self-explanatory. Set these to 0 to disable adding or deleting friends.
  • InitialRaidsToHost: Sets the number of raids to host before adding or removing any friends. Setting this to 0 will cause the bot to try to delete and add friends before hosting any raids.
  • RaidsBetweenAddFriends / RaidsBetweenDeleteFriends: These can be individually configured to decide when to add or delete friends. Set these to 0 to disable them.
  • RowStartDeletingFriends / RowStartAddingFriends: If set to any number greater than 1, the bot will go down to that row and then to the far right before adding or deleting friends. This may be desirable if you have a long enough list that you want to add or delete older friends first.
  • ProfileNumber: If you have multiple profiles on your Switch, you can set this to tell the bot to modify friends from a different profile. The profiles are numbered from left to right starting at 1.
  • EchoPartyReady: Tells the bot to announce each party member and the Pokémon they lock into once they are ready.

Positioning

  • Your raid should already be active with Watts collected. Face the nest so that you are able to interact with it.
  • Since your player will be leaving the raid and acting as an AI, we recommend setting your first party Pokémon as one that will be helpful even without your input.
Clone this wiki locally