BaseUserChannel
A base User channel, allwoing bots to interact with channels outside of a discord Guild.
Properties
id
BaseUserChannel.id :: string
recipients
id
BaseUserChannel.id :: string
This property was inherited from Objects.BaseDiscordChannel
type
BaseUserChannel.type :: number
This property was inherited from Objects.BaseDiscordChannel
Methods
triggerTypingIndicator
BaseUserChannel : triggerTypingIndicator () -> Vendor.Future
Triggers the typing indicator in the channel.
getMessagesAsync
BaseUserChannel : getMessagesAsync () -> Vendor.Future
limit: number?
Gets messages from the channel asynchronously.
getMessageAsync
BaseUserChannel : getMessageAsync () -> Vendor.Future
messageId: string
Gets a specific message from the channel asynchronously.
bulkDeleteMessagesAsync
Deletes multiple messages from the channel asynchronously.
sendMessageAsync
BaseUserChannel : sendMessageAsync () -> Vendor.Future
messageBuilder: MessageBuilder
Sends a message to the channel asynchronously.
getPinnedMessagesAsync
Retrieves the pinned messages in the text channel asynchronously.
deleteAsync
BaseUserChannel : deleteAsync () -> Vendor.Future
Deletes the channel asynchronously.
This function was inherited from Objects.BaseDiscordChannel
Functions
The BaseUserChannel instance has no set functions!