From cd179d78fb01ecf49346f83aab506a7c721fc672 Mon Sep 17 00:00:00 2001 From: Muhamad Ramdani Date: Sat, 18 Mar 2023 01:09:29 +0700 Subject: [PATCH] Wording on comment --- dist/client_auto.js | 2 +- dist/client_manual.js | 2 +- src/client_auto.ts | 2 +- src/client_manual.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/client_auto.js b/dist/client_auto.js index d7326c0..08051f8 100644 --- a/dist/client_auto.js +++ b/dist/client_auto.js @@ -12,7 +12,7 @@ const ai = "a2"; // bot list are in config.example.json, key "chat_ids" await bot.clearContext(ai); // If you want to get the response (with stream), you can use this // NOTE that you need to call this before you send the message -// await getUpdatedSettings(config.channel_name, config.quora_cookie); +// await getUpdatedSettings(bot.config.channel_name, bot.config.quora_cookie); // await bot.subscribe(); // const ws = await connectWs(); // If you want to send a message, you can use this diff --git a/dist/client_manual.js b/dist/client_manual.js index e741946..765ec9a 100644 --- a/dist/client_manual.js +++ b/dist/client_manual.js @@ -25,7 +25,7 @@ const ai = "a2"; // bot list are in config.example.json, key "chat_ids" await bot.clearContext(ai); // If you want to get the response (with stream), you can use this // NOTE that you need to call this before you send the message -// await getUpdatedSettings(config.channel_name, config.quora_cookie); +// await getUpdatedSettings(bot.config.channel_name, bot.config.quora_cookie); // await bot.subscribe(); // const ws = await connectWs(); // If you want to send a message, you can use this diff --git a/src/client_auto.ts b/src/client_auto.ts index aa3b0ef..72fc55e 100644 --- a/src/client_auto.ts +++ b/src/client_auto.ts @@ -20,7 +20,7 @@ await bot.clearContext(ai); // If you want to get the response (with stream), you can use this // NOTE that you need to call this before you send the message -// await getUpdatedSettings(config.channel_name, config.quora_cookie); +// await getUpdatedSettings(bot.config.channel_name, bot.config.quora_cookie); // await bot.subscribe(); // const ws = await connectWs(); diff --git a/src/client_manual.ts b/src/client_manual.ts index df4f6d8..6f2f7ca 100644 --- a/src/client_manual.ts +++ b/src/client_manual.ts @@ -36,7 +36,7 @@ await bot.clearContext(ai); // If you want to get the response (with stream), you can use this // NOTE that you need to call this before you send the message -// await getUpdatedSettings(config.channel_name, config.quora_cookie); +// await getUpdatedSettings(bot.config.channel_name, bot.config.quora_cookie); // await bot.subscribe(); // const ws = await connectWs();