Class ChatCommandContext

Hierarchy

  • ChatCommandContext

Constructors

Properties

Methods

Constructors

Properties

message: string

The original message that the player sent (without the leading '/').

player: PlayerData<Room>

The player that sent the message calling the command.

room: Room

The room that this command came from.

Methods

  • Reply to the message that called this command.

    Summary

    Calls sendChat

    Parameters

    • message: string

      The message to reply with.

    • Rest ...fmt: any

    Returns Promise<void>

Generated using TypeDoc