commit
This commit is contained in:
parent
a79a05bc94
commit
06f4596e15
1 changed files with 1 additions and 1 deletions
2
app.js
2
app.js
|
@ -132,7 +132,7 @@ client.on('messageCreate', async msg => {
|
|||
answerQuestion(msg.content.slice(+3)).then((res) => {
|
||||
console.log('[Discord] Sent answer to : ' + msg.content.slice(+3));
|
||||
addToLogs('[Discord] Sent answer to : ' + msg.content.slice(+3));
|
||||
msg.reply(res.data.choices[0].text.slice(+2));
|
||||
msg.reply(res.data.choices[0].text);
|
||||
}).catch((err) => {
|
||||
console.log(err);
|
||||
addToLogs(err);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue