html terminal
Diffstat (limited to 'src/bot/player.rs')
-rw-r--r--src/bot/player.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bot/player.rs b/src/bot/player.rs
index 1939542..d5753e7 100644
--- a/src/bot/player.rs
+++ b/src/bot/player.rs
@@ -95,7 +95,11 @@ pub async fn list(ctx: Context<'_>) -> Result<()> {
} else {
CreateEmbed::new()
.fields(players.into_iter().map(|p| {
- let admins = if p.admin { emoji::named::ADMIN } else { "" };
+ let admins = if p.admin {
+ crate::emoji::named::ADMIN
+ } else {
+ ""
+ };
(p.name, admins, true)
}))
.description("currently online players.")