DiSky DiSky v5.0.0-b1

User

type

A Discord user account: badges, profile and mutual guilds.

13 / 13

Properties

9
propertyTextsince 5.0.0-a1
[the] discriminator of %user%
%user%'s discriminator

The four digit number after the # of a user's name.

These, mixed with the user name itself, are unique.

This DOES NOT include the '#' char, so you have to add it yourself.

Helpful?
propertylist of Textsince 5.0.0-a1
[the] badges of %user%
%user%'s badges

Every badge's name a user has.

This does not and cannot contain any intro-related badges (nitro membership or nitro boosting); it needs OAuth2 to be enabled.

Helpful?
propertylist of Guildsince 5.0.0-a1
[the] mutual guilds of %user%
%user%'s mutual guilds

Every guild that the bot and the user have in common.

Helpful?
propertyUserprofileawait since 5.0.0-a1
[the] profile of %user%
%user%'s profile

The profile of a user, which mainly holds the banner and accent color.

This is fetched online from Discord, so it requires 'await'.

mentioned inCache and await
Helpful?
propertyPrivatechannelawait since 5.0.0-a1
[the] private channel of %user%
%user%'s private channel

The private (DM) channel with a user, opened if it does not exist yet.

This is fetched online from Discord, so it requires 'await'.

mentioned inCache and await
Helpful?
propertyTextsince 5.0.0-a1
[the] primary guild tag of %user%
%user%'s primary guild tag

The primary-guild server tag of a user (up to 4 characters).

Null if the user has no primary guild or has the tag hidden.

Helpful?
propertyTextsince 5.0.0-a1
[the] primary guild tag icon of %user%
%user%'s primary guild tag icon

The icon URL of a user's primary-guild server tag, or null if there is none.

Helpful?
propertyText since 5.0.0-a1
[the] name of %user%
%user%'s name

The name of a Discord entity: a user's or member's account name, a guild's name, a role/channel name, a bot's define-name. Registered on Skript's native Property.NAME, so the idiomatic "name of %x%" works without colliding. For a member's server nickname or display name, use "effective name".

Helpful?
propertyText since 5.0.0-a1
[the] avatar url of %user%
%user%'s avatar url

The avatar/icon URL of a Discord entity: a user/member's avatar, a guild's icon, a sticker's image, an application's icon... Co-owned across every type that has one, so "avatar url of %x%" works on any of them. Always a string (the image URL).

Helpful?

Getters

1

Effects

1
effectasync since 5.0.0-a1
[discord] un[-| ]ban [the] [user] %user% (from|in) [the] [guild] %guild% [(due to|because of|with [the] reason) %-string%]

Lifts a user's ban on a guild.

Helpful?

Conditions

2
conditionsince 5.0.0-a1
%users% (is|are) [a] discord bot

Whether the user is a Discord bot account.

Helpful?
conditionsince 5.0.0-a1
%users% (is|are) [a] system [user]

Whether the user is an official Discord system account.

Helpful?

Returned by

11

Syntaxes elsewhere in DiSky that return User.

Documentation

2

Hand-written guides that cover User.

An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.