forked from discord-net/Discord.Net
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Still Hsu
committed
May 3, 2018
1 parent
57ea571
commit 157acc4
Showing
2 changed files
with
42 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,39 @@ | ||
namespace Discord | ||
{ | ||
/// <summary> Specifies the handling type the tag should use. </summary> | ||
/// <summary> | ||
/// Specifies the handling type the tag should use. | ||
/// </summary> | ||
/// <seealso cref="MentionUtils"/> | ||
/// <seealso cref="IUserMessage.Resolve"/> | ||
public enum TagHandling | ||
{ | ||
/// <summary> Tag handling is ignored. </summary> | ||
Ignore = 0, //<@53905483156684800> -> <@53905483156684800> | ||
/// <summary> Removes the tag entirely. </summary> | ||
Remove, //<@53905483156684800> -> | ||
/// <summary> Resolves to username (e.g. @User). </summary> | ||
Name, //<@53905483156684800> -> @Voltana | ||
/// <summary> Resolves to username without mention prefix (e.g. User). </summary> | ||
NameNoPrefix, //<@53905483156684800> -> Voltana | ||
/// <summary> Resolves to username with discriminator value. (e.g. @User#0001). </summary> | ||
FullName, //<@53905483156684800> -> @Voltana#8252 | ||
/// <summary> Resolves to username with discriminator value without mention prefix. (e.g. User#0001). </summary> | ||
FullNameNoPrefix, //<@53905483156684800> -> Voltana#8252 | ||
/// <summary> Sanitizes the tag. </summary> | ||
Sanitize //<@53905483156684800> -> <@53905483156684800> (w/ nbsp) | ||
/// <summary> | ||
/// Tag handling is ignored (e.g. <@53905483156684800> -> <@53905483156684800>). | ||
/// </summary> | ||
Ignore = 0, | ||
/// <summary> | ||
/// Removes the tag entirely. | ||
/// </summary> | ||
Remove, | ||
/// <summary> | ||
/// Resolves to username (e.g. <@53905483156684800> -> @Voltana). | ||
/// </summary> | ||
Name, | ||
/// <summary> | ||
/// Resolves to username without mention prefix (e.g. <@53905483156684800> -> Voltana). | ||
/// </summary> | ||
NameNoPrefix, | ||
/// <summary> | ||
/// Resolves to username with discriminator value. (e.g. <@53905483156684800> -> @Voltana#8252). | ||
/// </summary> | ||
FullName, | ||
/// <summary> | ||
/// Resolves to username with discriminator value without mention prefix. (e.g. <@53905483156684800> -> Voltana#8252). | ||
/// </summary> | ||
FullNameNoPrefix, | ||
/// <summary> | ||
/// Sanitizes the tag (e.g. <@53905483156684800> -> <@53905483156684800> (w/ nbsp)). | ||
/// </summary> | ||
Sanitize | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters