Skip to content

Commit

Permalink
Update systemBot.js
Browse files Browse the repository at this point in the history
  • Loading branch information
melonmasteristaken authored Aug 3, 2024
1 parent cba6f89 commit ca137ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/bots/systemBot.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@ function systemBot() {
const question = message.slice('/ai ask'.length).trim();
var response;
(async () => {
let response = await gpt.ask(question + ', try to keep your answer short and sweet, no need for markdown formatting. ' + context);
let response = await gpt.ask(question + ', no need for markdown formatting. ' + context);
console.log('GPT Reply: ' + response); // you got it!
mainChannel.message(`<p style="color: #af9cff;">System Bot: ${response}</p>`);
})();
} else if (message.startsWith('/ai story')) {
const topic = message.slice('/ai story'.length).trim();
var response;
(async () => {
let response = await gpt.ask(`Write a short story about ${topic}, , try to keep your answer short and sweet (less than 100 words?), no need for markdown formatting. ` + context);
let response = await gpt.ask(`Write a story about ${topic}, no need for markdown formatting. ` + context);
console.log('GPT Reply: ' + response); // you got it!
mainChannel.message(`<p style="color: #af9cff;">System Bot: ${response}</p>`);
})();
Expand Down

0 comments on commit ca137ff

Please sign in to comment.