mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
fix: void return bug
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user