Expand description
Assembly of the messages Babyrite posts back to the requester.
Everything the bot says goes through build_messages, so the reply
policy โ what is allowed to be mentioned, and what rides in which message โ
is decided in one place instead of at each call site.
Re-exportsยง
use crate::expand::ExpandedContent;๐use crate::utils::defuse_code_fences;๐use crate::utils::fence_info;๐use twilight_model::channel::message::AllowedMentions;๐use twilight_model::channel::message::Embed;๐use twilight_model::id::Id;๐use twilight_model::id::marker::MessageMarker;๐
Structsยง
- Outgoing
Message - A message to post, independent of the HTTP request that sends it.
Functionsยง
- build_
messages - Builds the messages answering the message
request_id, in the order they are sent.