You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 694c2b9
Browse filesBrowse the repository at this point in the historyBrowse files
event.reply("A form with this ID was not found.").setEphemeral(true).queue();
47
+
Responses.error(event, "A form with this ID was not found.").queue();
48
48
return;
49
49
}
50
50
51
-
event.deferReply(true).queue();
52
51
FormDataform = formOpt.get();
53
52
54
53
if (form.getAttachmentInfo().isPresent()) {
55
-
event.getHook().sendMessage(
54
+
Responses.error(event,
56
55
"This form is attached to a message. Use `details` subcommand to check the message this form is attached to, or `detach` subcommand to detach the message before deleting.")
0 commit comments