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
parent 6b8005f530
commit a7727bba5c
4 changed files with 203 additions and 7 deletions

View File

@@ -239,6 +239,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