Skip to main content

Enum TagHandling

Specifies the handling type the tag should use.

Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public enum TagHandling

Fields​

Ignore​

Tag handling is ignored (e.g. <@53905483156684800> -> <@53905483156684800>).

View Source​
Declaration
Ignore = 0

Remove​

Removes the tag entirely.

View Source​
Declaration
Remove = 1

Name​

Resolves to username (e.g. <@53905483156684800> -> @Voltana).

View Source​
Declaration
Name = 2

NameNoPrefix​

Resolves to username without mention prefix (e.g. <@53905483156684800> -> Voltana).

View Source​
Declaration
NameNoPrefix = 3

FullName​

Resolves to username with discriminator value. (e.g. <@53905483156684800> -> @Voltana#8252).

View Source​
Declaration
FullName = 4

FullNameNoPrefix​

Resolves to username with discriminator value without mention prefix. (e.g. <@53905483156684800> -> Voltana#8252).

View Source​
Declaration
FullNameNoPrefix = 5

Sanitize​

Sanitizes the tag (e.g. <@53905483156684800> -> <@53905483156684800> (w/ nbsp)).

View Source​
Declaration
Sanitize = 6