Spent too much time trying to fix main thread offload crash

This commit is contained in:
2025-11-11 17:51:49 +01:00
parent db5ec89e78
commit abb42a49ec
7 changed files with 86 additions and 63 deletions

View File

@@ -22,6 +22,7 @@ const instagramSecret = process.env.INSTAGRAM_CLIENT_SECRET;
const updateChannelID = process.env.BOT_UPDATE_CHANNEL_ID;
const socialChannelID = process.env.SOCIAL_CHANNEL_ID
const welcomeChannelID = process.env.WELCOME_CHANNEL_ID
const filePath = ".instagram_client_tokens.json";
@@ -39,12 +40,12 @@ export const data = {
instagramPoller,
updateChannelID,
socialChannelID,
welcomeChannelID,
instagramTokenManager,
nameCardTemplate
//tiktokTokenManager
};
/*
const tiktokTokenManager = new TikTokTokenManager(
{filepath : ".tiktok_client_tokens.json", clientKey : "", clientSecret : ""}