Interface PokemonShowdownBotConfig

Pokemon Showdown bot config

Hierarchy

  • PokemonShowdownBotConfig

Properties

chatThrottleDelay?: number

Milliseconds to wait after sending a message batch By default 200 milliseconds

connectionRetry?: boolean

Retry connection if the bot disconnects? Default true

connectionRetryDelay?: number

Delay to retry the connection (milliseconds) By default 10 seconds

host: string

Server hostname

loginServer?: string

Login server URL Default: play.pokemonshowdown.com

maxLinesSend?: number

Max number of lines the bot can send at a time This a server restriction By default is 3

port: number

Server port

secure: boolean

True to use secure connection

sendBufferMaxLength?: number

Length of the message buffer This buffer is used to send messages By default, 6 messages

serverId: string

Server ID for the login server Eg: showdown

Generated using TypeDoc