import { ChannelsManager } from "https://deno.land/x/harmony@v2.7.0/mod.ts";
Methods
array(): Promise<Channel[]>
editMessage(): Promise<Message>
channel: string | TextChannel,
message: Message | string,
text?: string | MessageOptions,
option?: MessageOptions,
get<T extends Channel = Channel>(key: string): Promise<T | undefined>
getPinnedMessages(channel: string | TextChannel): Promise<Collection<string, Message>>
getUserDM(user: User | string): Promise<string | undefined>
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>
channel: string | TextChannel,
content?: string | AllMessageOptions,
option?: AllMessageOptions,
setUserDM(user: User | string, id: string): Promise<void>
unpinMessage(channel: string | TextChannel, message: string | Message): Promise<void>