Entity Info
serverExists
$serverExists[]
$serverExists[serverID] returns true when the bot can look up the server with that ID, and false otherwise.
Syntax
bdfd
$serverExists[serverID]
Parameters
| Parameter | Description |
|---|---|
serverID |
The numeric ID of the server. Required. |
Return Value
trueorfalse(as text).- An ID that is not a valid server ID, or a server the bot cannot see, gives
false; it is not an error.
Example
$if[$serverExists[123456789012345678]==true]
The bot is in that server.
$else
The bot does not know that server.
$endif