This commit is contained in:
Yash Karandikar 2022-07-12 14:42:37 +05:30
parent 0d79e8aed2
commit 4e10398d62

View file

@ -106,14 +106,13 @@ pub async fn irc_loop(
}) })
}); });
let m = QueuedMessage::Webhook { send.send(QueuedMessage::Webhook {
webhook: webhook.clone(), webhook: webhook.clone(),
http: http.clone(), http: http.clone(),
avatar_url: avatar.clone(), avatar_url: avatar.clone(),
content: computed, content: computed,
nickname: nickname.to_string(), nickname: nickname.to_string(),
}; })?;
send.send(m)?;
} else { } else {
send.send(QueuedMessage::Raw { send.send(QueuedMessage::Raw {
channel_id, channel_id,