Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 422 Bytes

USAGE.md

File metadata and controls

22 lines (17 loc) · 422 Bytes
import { Discord } from "@speakeasy-sdks/discord";

const discord = new Discord({
    botToken: "<YOUR_API_KEY_HERE>",
});

async function run() {
    const result = await discord.messages.get({
        channelId: "<value>",
        messageId: "<value>",
    });

    // Handle the result
    console.log(result);
}

run();