mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-04 09:50:07 +00:00
import type fixes
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { Collection } from "./collection.ts";
|
||||
import { Message } from "../structures/message.ts";
|
||||
import { Guild } from "../structures/guild.ts";
|
||||
import { Channel } from "../structures/channel.ts";
|
||||
import { PresenceUpdatePayload } from "../types/discord.ts";
|
||||
import type { Message } from "../structures/message.ts";
|
||||
import type { Guild } from "../structures/guild.ts";
|
||||
import type { Channel } from "../structures/channel.ts";
|
||||
import type { PresenceUpdatePayload } from "../types/discord.ts";
|
||||
|
||||
export interface CacheData {
|
||||
isReady: boolean;
|
||||
@@ -23,5 +23,3 @@ export const cache: CacheData = {
|
||||
presences: new Collection(),
|
||||
fetchAllMembersProcessingRequests: new Collection<string, Function>(),
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ImageSize, ImageFormats } from "../types/cdn.ts";
|
||||
import type { ImageSize, ImageFormats } from "../types/cdn.ts";
|
||||
|
||||
export const formatImageURL = (
|
||||
url: string,
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
import {
|
||||
Permission,
|
||||
Permissions,
|
||||
} from "../types/permission.ts";
|
||||
import type { Permission } from "../types/permission.ts";
|
||||
import type { Role } from "../structures/role.ts";
|
||||
import type { Guild } from "../structures/guild.ts";
|
||||
|
||||
import { Permissions } from "../types/permission.ts";
|
||||
import { botID } from "../module/client.ts";
|
||||
import { Role } from "../structures/role.ts";
|
||||
import { Guild } from "../structures/guild.ts";
|
||||
import { cacheHandlers } from "../controllers/cache.ts";
|
||||
|
||||
/** Checks if the member has this permission. If the member is an owner or has admin perms it will always be true. */
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { StatusType } from "../types/discord.ts";
|
||||
import type { StatusType } from "../types/discord.ts";
|
||||
|
||||
import { ActivityType } from "../types/activity.ts";
|
||||
import { sendGatewayCommand } from "../module/shardingManager.ts";
|
||||
import { encode } from "https://deno.land/std@0.67.0/encoding/base64.ts";
|
||||
|
||||
Reference in New Issue
Block a user