Misc changes
This commit is contained in:
@ -44,7 +44,7 @@ export class UserCommand extends Command {
|
||||
const chatCompletion = await openai.createChatCompletion({
|
||||
model: 'gpt-3.5-turbo',
|
||||
messages: [{ role: 'user', content: prompt }],
|
||||
max_tokens: 1000
|
||||
max_tokens: 420
|
||||
});
|
||||
|
||||
const content = chatCompletion.data.choices[0].message?.content || 'ERROR!';
|
||||
|
@ -21,9 +21,7 @@ export class UserCommand extends Command {
|
||||
builder //
|
||||
.setName(this.name)
|
||||
.setDescription(this.description)
|
||||
.addStringOption((option) =>
|
||||
option.setName('prompt').setDescription('You can ACTUALLY ask Himbot something! So cool!').setRequired(true)
|
||||
)
|
||||
.addStringOption((option) => option.setName('prompt').setDescription('Make a picture!').setRequired(true))
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user