Interface PokemonShowdownBattleBotConfig

Pokemon Showdown battle bot configuration

Hierarchy

  • PokemonShowdownBattleBotConfig

Properties

acceptChallengeFunc?: ((user, format, rules) => boolean)

Type declaration

    • (user, format, rules): boolean
    • Function to call to authorize a challenge accept

      Parameters

      • user: string

        The user who is challenging

      • format: string

        The format

      • rules: string[]

        Custom rules added to the format

      Returns boolean

      True if the bot should accept the challenge

acceptChallenges?: boolean

True to auto accept challenges

autoLadder?: string

Format to automatically search ladder battles

autoLadderCheckDelay?: number

Delay to search for new battles (in milliseconds) By default: 10 seconds

autoSetTimer?: boolean

True to automatically turn on the timer

Battle bot configuration function

joinAbandonedBattles?: boolean

True to join abandoned battles (For reconnection)

leaveAfterBattleEnds?: boolean

True for the bot to leave the battle after it ends

maxBattles?: number

Max number of parallel battles 0 for no limit

teams?: Map<string, PokemonTeam[]>

List of teams for the bot Mapping format => list of teams

Generated using TypeDoc