new SendMessageAction(msg)
Send a message in 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
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