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

@ -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);