Struct Message

A struct containing details about an incoming message.

struct Message ;

Fields

NameTypeDescription
ctcpCommand stringThe CTCP command, if any.
message stringThe message body.
sender UserThe user who sent the message.
target stringThe destination of the message, either a user or a channel.

Properties

NameTypeDescription
isCTCP[get] boolReturns whether this message uses CTCP.