mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
more fixxes
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
import { botId } from "../../src/bot.ts";
|
||||
import { cache } from "../../src/cache.ts";
|
||||
import { createChannel } from "../../src/helpers/channels/create_channel.ts";
|
||||
import { defaultTestOptions, tempData } from "../ws/start_bot.ts";
|
||||
import { delayUntil } from "../util/delay_until.ts";
|
||||
import { assertEquals, assertExists } from "../deps.ts";
|
||||
import { isChannelSynced } from "../../src/helpers/channels/is_channel_synced.ts";
|
||||
import { DiscordChannelTypes } from "../../src/types/channels/channel_types.ts";
|
||||
import { botId } from "../../src/bot.ts";
|
||||
import { DiscordOverwriteTypes } from "../../src/types/channels/overwrite_types.ts";
|
||||
import { assertEquals, assertExists } from "../deps.ts";
|
||||
import { delayUntil } from "../util/delay_until.ts";
|
||||
import { defaultTestOptions, tempData } from "../ws/start_bot.ts";
|
||||
|
||||
Deno.test({
|
||||
name: "[channel] is channel synced.",
|
||||
async fn() {
|
||||
const category = await createChannel(tempData.guildId, {
|
||||
name: "synced-category",
|
||||
type: DiscordChannelTypes.GUILD_CATEGORY,
|
||||
type: DiscordChannelTypes.GuildCategory,
|
||||
permissionOverwrites: [
|
||||
{
|
||||
id: botId,
|
||||
|
||||
Reference in New Issue
Block a user