import { ChannelsManager } from "https://deno.land/x/harmony@v2.6.0/src/managers/channels.ts";
Constructors
new
ChannelsManager(client: Client)Methods
editMessage(): Promise<Message>
channel: string | TextChannel,
message: Message | string,
text?: string | MessageOptions,
option?: MessageOptions,
getPinnedMessages(channel: string | TextChannel): Promise<Collection<string, Message>>
messageCacheSize(channel?: string | TextChannel): Promise<number>
Get cache size for messages. Returns total messages cache size if channel param is not given
pinMessage(channel: string | TextChannel, message: string | Message): Promise<void>
sendMessage(): Promise<Message>
unpinMessage(channel: string | TextChannel, message: string | Message): Promise<void>