feat: add option to send message with missing replies

Signed-off-by: ShaksterNano <54268387+shaksternano@users.noreply.github.com>
This commit is contained in:
ShaksterNano
2025-03-31 22:26:30 +01:00
committed by Zomatree
parent 62204fe50b
commit 2f3d1f0c7e
4 changed files with 203 additions and 7 deletions

View File

@@ -241,6 +241,10 @@ auto_derived!(
pub id: String,
/// Whether this reply should mention the message's author
pub mention: bool,
/// Whether to error if the referenced message doesn't exist.
/// Otherwise, send a message without this reply.
/// Default is true.
pub fail_if_not_exists: Option<bool>,
}
/// Message to send