message property

PartialMessage? message

The message that triggered the rule.

Implementation

PartialMessage? get message => messageId == null ? null : (channel as PartialTextChannel?)?.messages[messageId!];