User

dc_user

A discord user. Can be from a real discord account or a bot

Queryable:#

Property Type Description
name String The name of the user (Does not include nicknames, use dc_get_display_name for that)
mention_tag String The mention tag to mention a user in a message
discriminated_name String The name of the user with its discriminator. e.g. replaceitem#9118
id String ID of the user
avatar String URL of the users profile picture
is_bot boolean True if the user is a bot, false if it is a regular user
is_self boolean True if the user is the currently logged in bot account itself. Useful to prevent bots replying to itself
private_channel Channel The private messages channel with the user. Note that this may block, if the private channel was not yet opened.