Optional acceptFunction to call to authorize a challenge accept
The user who is challenging
The format
Custom rules added to the format
True if the bot should accept the challenge
Optional acceptTrue to auto accept challenges
Optional autoFormat to automatically search ladder battles
Optional autoDelay to search for new battles (in milliseconds) By default: 10 seconds
Optional autoTrue to automatically turn on the timer
Battle bot configuration function
Optional joinTrue to join abandoned battles (For reconnection)
Optional leaveTrue for the bot to leave the battle after it ends
Optional maxMax number of parallel battles 0 for no limit
Optional teamsList of teams for the bot Mapping format => list of teams
Generated using TypeDoc
Pokemon Showdown battle bot configuration