Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordeno/helpers/mod.ts>getMessage

Discord API library for Deno
Latest
function getMessage
import { getMessage } from "https://deno.land/x/discordeno@18.0.1/helpers/mod.ts";

Gets a message from a channel by the ID of the message.

Parameters

bot: Bot
  • The bot instance to use to make the request.
channelId: BigString
  • The ID of the channel from which to get the message.
messageId: BigString
  • The ID of the message to get.

Returns

Promise<Message>

An instance of Message.