fix: void return bug

This commit is contained in:
Skillz
2023-03-26 13:33:28 -05:00
parent f2b6590a72
commit 6b5d872ec4
@@ -1,7 +1,7 @@
import type { DiscordGatewayPayload, DiscordThreadListSync } from '@discordeno/types'
import type { Bot } from '../../index.js'
export async function handleThreadListSync(bot: Bot, data: DiscordGatewayPayload): Promise<void> {
export async function handleThreadListSync(bot: Bot, data: DiscordGatewayPayload): Promise<any> {
const payload = data.d as DiscordThreadListSync
const guildId = bot.transformers.snowflake(payload.guild_id)