diff --git a/commands/fun/a.ts b/commands/fun/a.ts index 57be06f..495352f 100644 --- a/commands/fun/a.ts +++ b/commands/fun/a.ts @@ -1,6 +1,5 @@ const { commandModule, CommandType } = require('@sern/handler'); import { publish } from "../../src/plugins/publish"; -const attachment1 = 'A.png'; export default commandModule({ name: 'a', @@ -8,7 +7,20 @@ export default commandModule({ plugins: [publish({ guildIds: ['1000400148289036298', '928018226330337280'] })], description: 'A', //alias : [], - execute: async (ctx, args) => { - await ctx.reply({content: 'A', files: [attachment1]}); + execute: async (ctx, options) => { + const imagesArray = [ + './images/XaviXE.png', + // 'images/Paula.png', + './images/William.png', + './images/Espejito2500.png', + './images/Paula.png', + './images/Wheelook.png', + './images/MarioCabrera.png', + './images/Paticama.png', + './images/Vinci.png' + ] + const images = imagesArray[Math.floor(Math.random() * imagesArray.length)]; + + await ctx.reply({content: 'A', files: [images]}); }, }); \ No newline at end of file diff --git a/images/Espejito2500.png b/images/Espejito2500.png new file mode 100644 index 0000000..fc2482a Binary files /dev/null and b/images/Espejito2500.png differ diff --git a/images/MarioCabrera.png b/images/MarioCabrera.png new file mode 100644 index 0000000..27e1e1c Binary files /dev/null and b/images/MarioCabrera.png differ diff --git a/images/Paticama.png b/images/Paticama.png new file mode 100644 index 0000000..b531940 Binary files /dev/null and b/images/Paticama.png differ diff --git a/A_old.png b/images/Paula.png similarity index 100% rename from A_old.png rename to images/Paula.png diff --git a/images/Vinci.png b/images/Vinci.png new file mode 100644 index 0000000..855edca Binary files /dev/null and b/images/Vinci.png differ diff --git a/images/Wheelook.png b/images/Wheelook.png new file mode 100644 index 0000000..2218d6f Binary files /dev/null and b/images/Wheelook.png differ diff --git a/images/William.png b/images/William.png new file mode 100644 index 0000000..00fc169 Binary files /dev/null and b/images/William.png differ diff --git a/A.png b/images/XaviXE.png similarity index 100% rename from A.png rename to images/XaviXE.png