Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.

Commit 5e5076f

Browse files
committed
fix: response
1 parent 88e343c commit 5e5076f

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/commands/chat.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ export default {
7373
]);
7474
}
7575
}
76-
console.log(result);
7776
if (
7877
result !=
7978
"Wait 1-2 mins the bot is reloading.\nFor more information join our discord: [dsc.gg/turing](https://dsc.gg/turing)" &&

src/modules/gpt-api.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ async function chat(message) {
3939
await addMessage(token.id);
4040
try {
4141
var response = await token.client.sendMessage(message);
42+
console.log(message, response);
4243
await removeMessage(token.id);
43-
return response;
44+
return response.response;
4445
} catch (err) {
4546
console.log(err);
4647
await removeMessage(token.id);

src/modules/loadbalancer.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ async function useToken() {
4646
var token = t[i];
4747
if (token) {
4848
var client = clients.find((x) => x.id == token.id);
49-
console.log(client);
5049
return client;
5150
} else {
5251
return {

0 commit comments

Comments
 (0)