ChannelAudience.PrivateAudience

Audience class representing a specific targeted player. Example: tell command or whisper command.

Constructor

new PrivateAudience()

Extends

Methods

alterMessage(message) → {string}

Modify the message to be sent

Parameters:
Name Type Description
message string
Returns:
string
Overrides:

configure(options)

Configure the current state for the audience. Called by Channel#send

Parameters:
Name Type Description
options object
Properties
Name Type Description
state GameState
sender Player
message string
Inherited From:

getBroadcastTargets() → {Array.<Player>}

Find targets for this audience

Returns:
Array.<Player>
Overrides: