Rename to txt2img

pull/1/head
Supositware 2 years ago
parent 900a633f0d
commit 24391ec40c

@ -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);
Loading…
Cancel
Save