canBeUsedAsNewMessage method

bool canBeUsedAsNewMessage()

Returns if this instance of message builder can be used when editing message

Implementation

bool canBeUsedAsNewMessage() =>
    this.content.isNotEmpty || embeds.isNotEmpty || (this.files != null && this.files!.isNotEmpty);