ZeldaFan0225/AI_Horde_Discord

Re-roll button

Closed this issue · 2 comments

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

A re-roll button next to the "Delete this message" would be pretty useful imo.

Describe the solution you'd like
A clear and concise description of what you want to happen.

the re-roll button should run the image generation again but with a different seed.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

not sure about alternatives.

Additional context
Add any other context or screenshots about the feature request here.

Efreak commented

I've tried implementing similar functionality (updating /userinfo output), but I have no idea how to get the command parameters from a message in discord.js (my only exposure to discord.js is via the bot, which doesn't seem to have any functionality that does this, and I can't figure out an appropriate set of search terms to figure this out online).

After debating on whether this should be implemented I've decided not add this functionality, for the reason that Discord added actually usable command views where you can copy the usage, paste it and run the command again. This will also not delete the previously generated image by sending a new message.