mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 17:30:07 +00:00
fix: optionalize recursive type works with nested objects and arrays (#2115)
* fix: get rid of type errors for now * fix: only 6 type errors left
This commit is contained in:
1
plugins/cache/src/setupCacheRemovals.ts
vendored
1
plugins/cache/src/setupCacheRemovals.ts
vendored
@@ -67,7 +67,6 @@ export function setupCacheRemovals<B extends Bot>(bot: BotWithCache<B>) {
|
||||
|
||||
bot.handlers.GUILD_EMOJIS_UPDATE = function (_, data, shardId) {
|
||||
const payload = data.d as DiscordGuildEmojisUpdate;
|
||||
|
||||
const guild = bot.guilds.get(bot.transformers.snowflake(payload.guild_id));
|
||||
|
||||
if (guild) {
|
||||
|
||||
Reference in New Issue
Block a user