Interface MessageCommandData<InGuild>

Represents the data available for a message command.

Type Parameters

  • InGuild extends boolean = boolean

Hierarchy

  • MessageCommandData

Properties

args: string[]

An array containing the arguments of the command.

author: User

The user that sent the message.

The channel the message was sent from.

client: Client<true>

The client that received the command.

guild: If<InGuild, Guild, null>

The guild the message was sent from.

member: If<InGuild, GuildMember, null>

The member object of the user that sent the message.

message: Message<InGuild>

The message containing the command.

Methods

Generated using TypeDoc