Files
discordeno/tests/misc/startTyping.test.ts
2022-06-18 23:49:25 +00:00

10 lines
363 B
TypeScript

import { loadBot } from "../mod.ts";
import { CACHED_COMMUNITY_GUILD_ID } from "../utils.ts";
Deno.test("[typing] start typing", async () => {
const bot = loadBot();
const channel = await bot.helpers.createChannel(CACHED_COMMUNITY_GUILD_ID, { name: "typing" });
await bot.helpers.startTyping(channel.id);
await bot.helpers.deleteChannel(channel.id);
});