Class: SendMessageAction

HungryGames~Action~ SendMessageAction


new SendMessageAction(msg)

Create an action that will send a message to the game channel.
Parameters:
Name Type Description
msg string The message to send.
Source:

Extends

  • HungryGames~Action~ChannelAction

Members


message

Get the current message text.
Source:

message

Update the message with a new value.
Source:

Methods


<static> create(client, id, obj)

Create action from save data.
Parameters:
Name Type Description
client external:Discord~Client Bot client context to get object references.
id string Guild ID this action is for.
obj object The parsed data from file.
Source:
Returns:
The created action.
Type
HungryGames~SendMessageAction