mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-11 15:43:03 -04:00
update examles
This commit is contained in:
parent
75b8520481
commit
b3989587bb
38 changed files with 21 additions and 42 deletions
|
@ -12,7 +12,7 @@ module.exports = {
|
|||
metadata: {
|
||||
description: 'Uses Craiyon to generate four images from a text prompt.',
|
||||
description_short: 'Craiyon AI image generation',
|
||||
examples: ['dalle'],
|
||||
examples: ['dalle Otter'],
|
||||
category: 'image',
|
||||
usage: 'dalle <text>'
|
||||
},
|
||||
|
@ -23,6 +23,8 @@ module.exports = {
|
|||
},
|
||||
permissionsClient: [Permissions.EMBED_LINKS, Permissions.SEND_MESSAGES, Permissions.USE_EXTERNAL_EMOJIS, Permissions.ATTACH_FILES],
|
||||
run: async (context, args) => {
|
||||
if(!context.channel.nsfw) return editOrReply(context, {embeds:[createEmbed("nsfw", context)]})
|
||||
|
||||
let response = await editOrReply(context, { embeds: [createEmbed("loading", context, `Synthesizing images...`)] })
|
||||
|
||||
let noticeTimer = setTimeout(()=>{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue