forked from karx/dircord
Process replied message
This commit is contained in:
parent
c025ee2291
commit
8e40803215
|
@ -160,6 +160,8 @@ impl EventHandler for Handler {
|
||||||
.collect::<String>()
|
.collect::<String>()
|
||||||
);
|
);
|
||||||
|
|
||||||
|
content = discord_to_irc_processing(&content, &**members_lock, &ctx, &roles).await;
|
||||||
|
|
||||||
let to_send = if content.len() > reply_content_limit {
|
let to_send = if content.len() > reply_content_limit {
|
||||||
format!("{}...", &content[..reply_content_limit - 3])
|
format!("{}...", &content[..reply_content_limit - 3])
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue