docsFunctionsUsersZdisplayName

ZdisplayName

Returns the display name of the command author or specified user; use server for the guild nickname or global for the Discord global name.

Syntax

ZdisplayName{userID?;type?}

Arguments

NameTypeRequiredDefault
userIDsnowflakeNoauthor’s ID
typestringNoserver

Example

ZdisplayName{123456789012345678;global}