Class: Message
Hierarchy
↳
Message
Constructors
constructor
• new Message(client
, data
)
Parameters
Name | Type |
---|---|
client | Client |
data | CustomMessageData |
Overrides
Defined in
packages/libcord/src/structures/Message.ts:27
Properties
author
• author: undefined
| User
Defined in
packages/libcord/src/structures/Message.ts:23
channel
• channel: TextChannel
Defined in
packages/libcord/src/structures/Message.ts:19
channelID
• channelID: string
Defined in
packages/libcord/src/structures/Message.ts:21
client
• Readonly
client: Client
Inherited from
Defined in
packages/libcord/src/structures/Base.ts:8
content
• content: string
Defined in
packages/libcord/src/structures/Message.ts:22
guild
• Optional
guild: Guild
Defined in
packages/libcord/src/structures/Message.ts:25
id
• id: string
Defined in
packages/libcord/src/structures/Message.ts:20
member
• member: Member
Defined in
packages/libcord/src/structures/Message.ts:24
Methods
reply
▸ reply(options
): Promise
<Message
>
Reply to a message
Parameters
Name | Type | Description |
---|---|---|
options | string | Embed | MessageOptions | The options for the message, can be a string or embed or object |
Returns
Promise
<Message
>
message