Class DiscordAuthor
A DiscordAuthor object contains all the information about the author of a message. This is used in DiscordMessages.
Inheritance
System.Object
DiscordAuthor
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Dishooks
Assembly: cs.temp.dll.dll
Syntax
public class DiscordAuthor
Properties
Avatar
The avatar hash of the user at the time of the message.
Declaration
public string Avatar { get; }
Property Value
Type | Description |
---|---|
System.String |
AvatarUrl
Declaration
public string AvatarUrl { get; }
Property Value
Type | Description |
---|---|
System.String |
Bot
Whether or not this user is a bot. This will always be true for webhooks.
Declaration
public bool Bot { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Discriminator
The discriminator of the user at the time of the message. This is a 4-digit number. For Webhooks, this will always be 0000.
Declaration
public string Discriminator { get; }
Property Value
Type | Description |
---|---|
System.String |
Id
The ID of the user.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
Username
The username of the user at the time of the message.
Declaration
public string Username { get; }
Property Value
Type | Description |
---|---|
System.String |