$isBanned

Returns whether a user is banned from the current server or not. Requires the BAN_MEMBERS permission.

Info

true means the user is banned, false means they aren’t.

Syntax

$isBanned[User ID]

Parameters

  • User ID (Type: Snowflake || Flag: Required): The user to check its ban status.

Example

$nomention
Banned?: $isBanned[$message]
!example 551786741296791562 Banned?: true

What is this?

How $message works?