class TextChannel
extends Channel
Re-export
import { TextChannel } from "https://deno.land/x/commandis@v0.6.5/mod.ts";
Constructors
Methods
createCollector(filter: (msg: Message) => boolean, options: CollectorOptions): Collector<Message>
Creates a message collector for a specified channel.
editMessage(id: string, data: (MessageEditParamsType | string)): Promise<Message>
Edits a previously sent message.
follow(webhook_channel_id: string): Promise<NewsFollowedChannelType>
Follows a news channel to another text channel.
sendMessage(data: MessageCreateParamsType): Promise<Message>
Sends message to text channel. channel.sendMessage({ content: "Hello!" })
toString()
unreactAll(id: string, emoji?: string): Promise<boolean>
Deletes all previous added reaction from a message.