Rename to txt2img

This commit is contained in:
Supositware 2022-10-17 21:30:29 +02:00
parent 900a633f0d
commit 24391ec40c

View file

@ -7,13 +7,13 @@ const { stableHordeApi, stableHordeID } = process.env;
export default { export default {
data: new SlashCommandBuilder() data: new SlashCommandBuilder()
.setName('stablediffusion') .setName('txt2img')
.setDescription('AI generated image with stable diffusion (If credit are low it may be slow)') .setDescription('AI generated image with stable diffusion (If credit are low it may be slow)')
.addStringOption(option => .addStringOption(option =>
option.setName('prompt') option.setName('prompt')
.setDescription('What do you want the AI to generate?') .setDescription('What do you want the AI to generate?')
.setRequired(true)), .setRequired(true)),
category: 'fun', category: 'AI',
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);