mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-31 07:50:07 +00:00
* Create deno.json * run format * run format * ci: only check formatting * f * Update settings.json * Update settings.json
8 lines
289 B
TypeScript
8 lines
289 B
TypeScript
import { bot } from "../mod.ts";
|
|
|
|
Deno.test("[member] get dm channel and send a message", async () => {
|
|
// Itoh Alt ID
|
|
const channel = await bot.helpers.getDmChannel(750661528360845322n);
|
|
await bot.helpers.sendMessage(channel.id, { content: "https://i.imgur.com/doG55NR.png" });
|
|
});
|