mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-04 09:50:07 +00:00
fix: get rid of type errors for now (#2113)
This commit is contained in:
3
plugins/cache/src/dispatchRequirements.ts
vendored
3
plugins/cache/src/dispatchRequirements.ts
vendored
@@ -1,3 +1,4 @@
|
||||
import type { Guild } from "../deps.ts";
|
||||
import { Bot, DiscordGatewayPayload } from "../deps.ts";
|
||||
import { BotWithCache } from "./addCacheCollections.ts";
|
||||
|
||||
@@ -55,7 +56,7 @@ export async function dispatchRequirements<B extends Bot>(
|
||||
.getGuild(id, {
|
||||
counts: true,
|
||||
})
|
||||
.catch(console.log));
|
||||
.catch(console.log)) as Guild;
|
||||
|
||||
if (!guild) {
|
||||
processing.delete(id);
|
||||
|
||||
Reference in New Issue
Block a user