html terminal
Diffstat (limited to 'src/bot/player.rs')
| -rw-r--r-- | src/bot/player.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bot/player.rs b/src/bot/player.rs index f0d6a0f..26b2dd5 100644 --- a/src/bot/player.rs +++ b/src/bot/player.rs @@ -104,7 +104,7 @@ pub async fn list(ctx: Context<'_>) -> Result<()> { let admins = if p.admin { " [A]" } else { "" }; ( p.name, - if perms.use_slash_commands() { + if perms.administrator() { format!("{id}, {ip}", id = p.uuid, ip = p.ip) + admins } else { admins.to_string() |