disable broken commands

This commit is contained in:
bignutty 2024-12-26 23:18:16 +01:00
parent e523b5402e
commit 656b834d32
3 changed files with 6 additions and 3 deletions

View file

@ -18,11 +18,12 @@ module.exports = {
description: `${iconPill("generative_ai", "LIMITED TESTING")}\n${smallIconPill("reply", "Supports Replies")}\n\nAsk questions about web pages and videos. You have to **reply** to a message or embed containing a link to ask questions about it.`,
description_short: 'Website prompts.',
examples: ['ask why do they call it oven when you of in the cold food of out hot eat the food'],
category: 'limited',
category: 'broken',
usage: 'ask <question>'
},
permissionsClient: [...PERMISSION_GROUPS.baseline],
run: async (context, args) => {
return;
if(!await hasFeature(context, "flamingo/summary")) return;
await acknowledge(context);

View file

@ -17,11 +17,12 @@ module.exports = {
description: `${iconPill("generative_ai", "LIMITED TESTING")}\n${smallIconPill("reply", "Supports Replies")}\n\nRun Gemini Vision on an Image with a custom prompt.`,
description_short: 'Run Gemini Vision ',
examples: ['gv Which show is this image from?'],
category: 'limited',
category: 'broken',
usage: 'gemini-vision <attachment> <prompt>'
},
permissionsClient: [...PERMISSION_GROUPS.baseline, ...PERMISSION_GROUPS.attachments],
run: async (context, args) => {
return;
if(!await hasFeature(context, "ai/gemini/vision")) return;
await acknowledge(context);

View file

@ -16,7 +16,7 @@ module.exports = {
description: `${iconPill("generative_ai", "LIMITED TESTING")}\n\nGenerate AI Wallpapers`,
description_short: 'Create Wallpapers',
examples: ['wallpaper a painting of northern lights, in the bauhaus style -format square'],
category: 'limited',
category: 'broken',
usage: 'wallpaper <prompt> [-format <square|wide>]'
},
args: [
@ -24,6 +24,7 @@ module.exports = {
],
permissionsClient: [...PERMISSION_GROUPS.baseline, ...PERMISSION_GROUPS.attachments],
run: async (context, args) => {
return;
if(!await hasFeature(context, "ai/wallpapers")) return;
await acknowledge(context);