fixed <<here>> not mentioning

This commit is contained in:
2020-12-29 22:44:11 +00:00
parent 55c7740cef
commit c7c3b14c2d
5 changed files with 4 additions and 47 deletions

View File

@ -967,7 +967,7 @@ impl Content {
if let Some(role) = guild.role_by_name(role_name.as_str()) {
role.mention()
} else {
role_name.as_str().to_string()
format!("<<{}>>", role_name.as_str().to_string())
}
} else {
String::new()