mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-02 00:40:07 +00:00
style: fix lint warnings (#935)
This commit is contained in:
@@ -4,7 +4,6 @@ import type { CreateGuildChannel } from "../../types/guilds/create_guild_channel
|
||||
import { Errors } from "../../types/discordeno/errors.ts";
|
||||
import { bigintToSnowflake } from "../../util/bigint.ts";
|
||||
import { calculatePermissions } from "../../util/permissions.ts";
|
||||
import { createChannel } from "./create_channel.ts";
|
||||
import { helpers } from "../mod.ts";
|
||||
|
||||
/** Create a copy of a channel */
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { Channel } from "../../channels/channel.ts";
|
||||
import { GuildMember } from "../../members/guild_member.ts";
|
||||
import { Role } from "../../permissions/role.ts";
|
||||
import { User } from "../../users/user.ts";
|
||||
import { InteractionGuildMember } from "../interaction_guild_member.ts";
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// deno-lint-ignore-file ban-types no-explicit-any
|
||||
|
||||
export type UpperCaseCharacters =
|
||||
| "A"
|
||||
| "B"
|
||||
|
||||
@@ -10,7 +10,7 @@ export async function delayUntil(
|
||||
if (isReady() || Date.now() >= maxTime) {
|
||||
resolve();
|
||||
} else {
|
||||
setTimeout(async () => hackyFix(resolve), timeoutTime);
|
||||
setTimeout(() => hackyFix(resolve), timeoutTime);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user