change feature flag name

This commit is contained in:
bignutty 2025-03-05 12:25:06 +01:00
parent 60a8158bff
commit 36895d8292

View file

@ -31,7 +31,7 @@ module.exports = {
await acknowledge(context); await acknowledge(context);
let model = "gpt-4o" let model = "gpt-4o"
if(args.model && await hasFeature(context, "ai/gpt/prompt")) model = args.model; if(args.model && await hasFeature(context, "ai/gpt/model-selection")) model = args.model;
if(!args.text) return editOrReply(context, createEmbed("warning", context, `Missing Parameter (text).`)) if(!args.text) return editOrReply(context, createEmbed("warning", context, `Missing Parameter (text).`))