From 5cc94e54a3391862396e0b8685ef00416eb7646d Mon Sep 17 00:00:00 2001 From: Supositware Date: Sat, 15 Apr 2023 19:49:36 +0200 Subject: [PATCH] Added some aliases --- commands/AI/img2img.js | 1 + commands/AI/txt2img.js | 1 + commands/fun/audio2image.js | 1 + commands/fun/image2audio.js | 1 + 4 files changed, 4 insertions(+) diff --git a/commands/AI/img2img.js b/commands/AI/img2img.js index 3874afbe..0c6a8b34 100644 --- a/commands/AI/img2img.js +++ b/commands/AI/img2img.js @@ -27,6 +27,7 @@ export default { .setDescription('What do you want the AI to generate?') .setRequired(true)), category: 'AI', + alias: ['i2i'], async execute(interaction, args, client) { await interaction.deferReply(); diff --git a/commands/AI/txt2img.js b/commands/AI/txt2img.js index baad72d5..f946100b 100644 --- a/commands/AI/txt2img.js +++ b/commands/AI/txt2img.js @@ -23,6 +23,7 @@ export default { .setDescription('What do you want the AI to generate?') .setRequired(true)), category: 'AI', + alias: ['t2i'], async execute(interaction, args, client) { await interaction.deferReply(); generate(interaction, args.prompt, client); diff --git a/commands/fun/audio2image.js b/commands/fun/audio2image.js index eed49957..69899b0a 100644 --- a/commands/fun/audio2image.js +++ b/commands/fun/audio2image.js @@ -20,6 +20,7 @@ export default { .setDescription('The audio that will become image.') .setRequired(true)), category: 'fun', + alias: ['a2i'], async execute(interaction, args) { if (!args.audio) return interaction.reply('Please attach an image with your message.'); diff --git a/commands/fun/image2audio.js b/commands/fun/image2audio.js index 8165cdad..9410bcb1 100644 --- a/commands/fun/image2audio.js +++ b/commands/fun/image2audio.js @@ -20,6 +20,7 @@ export default { .setDescription('The image that will become audio. Only tested with png and jpg.') .setRequired(true)), category: 'fun', + alias: ['i2a'], async execute(interaction, args) { if (!args.img) return interaction.reply('Please attach an image with your message.');