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: `${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.', 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'], 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>' usage: 'ask <question>'
}, },
permissionsClient: [...PERMISSION_GROUPS.baseline], permissionsClient: [...PERMISSION_GROUPS.baseline],
run: async (context, args) => { run: async (context, args) => {
return;
if(!await hasFeature(context, "flamingo/summary")) return; if(!await hasFeature(context, "flamingo/summary")) return;
await acknowledge(context); 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: `${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 ', description_short: 'Run Gemini Vision ',
examples: ['gv Which show is this image from?'], examples: ['gv Which show is this image from?'],
category: 'limited', category: 'broken',
usage: 'gemini-vision <attachment> <prompt>' usage: 'gemini-vision <attachment> <prompt>'
}, },
permissionsClient: [...PERMISSION_GROUPS.baseline, ...PERMISSION_GROUPS.attachments], permissionsClient: [...PERMISSION_GROUPS.baseline, ...PERMISSION_GROUPS.attachments],
run: async (context, args) => { run: async (context, args) => {
return;
if(!await hasFeature(context, "ai/gemini/vision")) return; if(!await hasFeature(context, "ai/gemini/vision")) return;
await acknowledge(context); await acknowledge(context);

View file

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