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?') .setDescription('What do you want the AI to generate?')
.setRequired(true)), .setRequired(true)),
category: 'AI', category: 'AI',
alias: ['i2i'],
async execute(interaction, args, client) { async execute(interaction, args, client) {
await interaction.deferReply(); await interaction.deferReply();

View file

@ -23,6 +23,7 @@ export default {
.setDescription('What do you want the AI to generate?') .setDescription('What do you want the AI to generate?')
.setRequired(true)), .setRequired(true)),
category: 'AI', category: 'AI',
alias: ['t2i'],
async execute(interaction, args, client) { async execute(interaction, args, client) {
await interaction.deferReply(); await interaction.deferReply();
generate(interaction, args.prompt, client); generate(interaction, args.prompt, client);

View file

@ -20,6 +20,7 @@ export default {
.setDescription('The audio that will become image.') .setDescription('The audio that will become image.')
.setRequired(true)), .setRequired(true)),
category: 'fun', category: 'fun',
alias: ['a2i'],
async execute(interaction, args) { async execute(interaction, args) {
if (!args.audio) return interaction.reply('Please attach an image with your message.'); 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.') .setDescription('The image that will become audio. Only tested with png and jpg.')
.setRequired(true)), .setRequired(true)),
category: 'fun', category: 'fun',
alias: ['i2a'],
async execute(interaction, args) { async execute(interaction, args) {
if (!args.img) return interaction.reply('Please attach an image with your message.'); if (!args.img) return interaction.reply('Please attach an image with your message.');