commit
This commit is contained in:
parent
5c93e9d8f7
commit
0afd108a82
20 changed files with 2096 additions and 19 deletions
|
@ -23,7 +23,7 @@ async function gptrequest(interaction, client) {
|
|||
}
|
||||
else {
|
||||
answerQuestion(interaction.options.get('question').value).then((res) => {
|
||||
incrementQuota(interaction.member.user.id, res.data.usage.total_tokens).catch((err) => {
|
||||
incrementQuota(interaction.member.user.id, res.data.usage.total_tokens * 15).catch((err) => {
|
||||
console.log(err);
|
||||
addToLogs(err);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue