feature: variants #22

Merged
akulij merged 19 commits from dev into main 2025-06-05 20:53:03 +00:00
Showing only changes of commit b202f385fe - Show all commits

View File

@ -507,10 +507,10 @@ pub struct BotMessage {
} }
impl BotMessage { impl BotMessage {
pub fn fill_literal(&self, l: String) -> Self { pub fn fill_literal(self, l: String) -> Self {
BotMessage { BotMessage {
literal: self.clone().literal.or(Some(l)), literal: self.clone().literal.or(Some(l)),
..self.clone() ..self
} }
} }