mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-04 09:50:07 +00:00
13 lines
489 B
TypeScript
13 lines
489 B
TypeScript
import { Bot } from "../../../src/bot.ts";
|
|
import { CreateGuildChannel } from "../../../src/types/guilds/create_guild_channel.ts";
|
|
import { DiscordChannelTypes } from "../../../src/types/mod.ts";
|
|
import { assertExists, assertEquals } from "../../deps.ts";
|
|
import { delayUntil } from "../../utils.ts";
|
|
|
|
export async function getAuditLogsTests(bot: Bot, guildId: bigint, t: Deno.TestContext) {
|
|
const logs = await bot.helpers.getAuditLogs(guildId);
|
|
|
|
// Assertions
|
|
assertExists(logs);
|
|
}
|