disable anime

This commit is contained in:
derpystuff 2023-02-23 23:19:03 +01:00
parent 50c28be4f3
commit 40f7d8dace

View file

@ -12,7 +12,7 @@ module.exports = {
description_short: 'AI Anime image generation',
explicit: true,
examples: ['anime otter'],
category: 'image',
category: 'disabled',
usage: 'anime <text>'
},
ratelimit: {
@ -21,6 +21,7 @@ module.exports = {
duration: 5000
},
run: async (context, args) => {
return;
if(!context.channel.nsfw) return editOrReply(context, {embeds:[createEmbed("nsfw", context)]})
if(args.query.length == 0) return editOrReply(context, {embeds:[createEmbed("warning", context, "Missing prompt")]})