style: fix lint warnings (#935)

This commit is contained in:
rigormorrtiss
2021-05-13 10:37:31 +04:00
committed by GitHub
parent 6e7a7efd1b
commit a0bd415cbe
4 changed files with 3 additions and 3 deletions

View File

@@ -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 */

View File

@@ -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";

View File

@@ -1,3 +1,5 @@
// deno-lint-ignore-file ban-types no-explicit-any
export type UpperCaseCharacters =
| "A"
| "B"

View File

@@ -10,7 +10,7 @@ export async function delayUntil(
if (isReady() || Date.now() >= maxTime) {
resolve();
} else {
setTimeout(async () => hackyFix(resolve), timeoutTime);
setTimeout(() => hackyFix(resolve), timeoutTime);
}
}