Class MessageCreateEventArgs
Represents arguments for MessageCreated event.
Namespace: KSharpPlus.EventArgs.Message
Assembly: KSharpPlus.dll
Syntax
public class MessageCreateEventArgs : KuracordEventArgs
Properties
| Improve this Doc View SourceAuthor
Gets the author of the message.
Declaration
public KuracordUser Author { get; }
Property Value
| Type | Description |
|---|---|
| KuracordUser |
Channel
Gets the channel this message belongs to.
Declaration
public KuracordChannel Channel { get; }
Property Value
| Type | Description |
|---|---|
| KuracordChannel |
Guild
Gets the guild this message belongs to.
Declaration
public KuracordGuild Guild { get; }
Property Value
| Type | Description |
|---|---|
| KuracordGuild |
Member
Gets the guild member who is the author of the message.
Declaration
public KuracordMember Member { get; }
Property Value
| Type | Description |
|---|---|
| KuracordMember |
Message
Gets the message that was created.
Declaration
public KuracordMessage Message { get; }
Property Value
| Type | Description |
|---|---|
| KuracordMessage |