We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8942372 commit 4047a59Copy full SHA for 4047a59
src/main/kotlin/commands/img2img/Img2ImgCommand.kt
@@ -35,6 +35,8 @@ fun img2imgCommand(jda: JDA) {
35
50
36
}
37
38
+ event.deferReply().queue()
39
+
40
var batch = (0 until config.hostConstraints.totalImagesInMakeCommand).map {
41
val initialParams = optionsToStableDiffusionParams(event, it)
42
initialParams.copy(
@@ -53,7 +55,7 @@ fun img2imgCommand(jda: JDA) {
53
55
event.hook,
54
56
null
57
)
- event.reply_(queueDispatcher.queue.addToQueue(entry)).queue()
58
+ event.hook.editOriginal(queueDispatcher.queue.addToQueue(entry)).queue()
59
} catch (e: Exception) {
60
e.printStackTrace()
61
event.reply_("Error! $e").setEphemeral(true).queue()
0 commit comments