mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 01:10:07 +00:00
10 lines
340 B
TypeScript
10 lines
340 B
TypeScript
import { assertEquals } from "../deps.ts";
|
|
import { loadBot } from "../mod.ts";
|
|
import { CACHED_COMMUNITY_GUILD_ID } from "../utils.ts";
|
|
|
|
Deno.test("[voice] Get voice regions", async () => {
|
|
const bot = loadBot();
|
|
const regions = await bot.helpers.getVoiceRegions(CACHED_COMMUNITY_GUILD_ID);
|
|
assertEquals(regions.size > 1, true);
|
|
});
|