Added some aliases

This commit is contained in:
Supositware 2023-04-15 19:49:36 +02:00
parent d925e62004
commit 5cc94e54a3
4 changed files with 4 additions and 0 deletions

View file

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

View file

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

View file

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

View file

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