Skip to main content
Module

x/harmony/mod.ts>TextChannel#fetchMessages

An easy to use Discord API Library for Deno.
Go to Latest
method TextChannel.prototype.fetchMessages
Re-export
import { TextChannel } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Fetch Messages of a Channel

Parameters

optional
options: { limit?: number; around?: Message | string; before?: Message | string; after?: Message | string; }

Options to configure fetching Messages

Returns

Promise<Collection<string, Message>>