mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 19:28:17 +00:00
add: return type
This commit is contained in:
@@ -11,5 +11,5 @@ export async function deleteThread(threadId: bigint, reason?: string) {
|
||||
if (channel?.guildId) await requireBotGuildPermissions(channel.guildId, ["MANAGE_THREADS"]);
|
||||
}
|
||||
|
||||
return await rest.runMethod("delete", endpoints.CHANNEL_BASE(threadId), { reason });
|
||||
return await rest.runMethod<undefined>("delete", endpoints.CHANNEL_BASE(threadId), { reason });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user