fix: bigint now

This commit is contained in:
ITOH
2021-05-03 21:21:51 +02:00
parent 0947486411
commit c0a2c520a5
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ import { camelKeysToSnakeCase } from "../../../util/utils.ts";
* @param messageId when provided the thread will be public
*/
export async function startThread(
channelId: string,
options: StartThread & { messageId?: string },
channelId: bigint,
options: StartThread & { messageId?: bigint },
) {
const channel = await cacheHandlers.get("channels", channelId);
if (channel) {