Skip to content

Commit 4dc6fe3

Browse files
committed
Remove "created at" field from form details embed
This field relied on form's ID to be a timestamp, but that's no longer the case
1 parent 694c2b9 commit 4dc6fe3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/net/discordjug/javabot/systems/staff_commands/forms/commands/DetailsFormSubcommand.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ private EmbedBuilder createFormDetailsEmbed(FormData form, Guild guild) {
7474
long id = form.id();
7575

7676
addCodeblockField(builder, "ID", id, true);
77-
builder.addField("Created at", String.format("<t:%s>", id / 1000L), true); // TODO i forgot to fix
7877

7978
builder.addField("Expires at",
8079
form.hasExpirationTime() ? TimeFormat.DATE_TIME_LONG.format(form.expiration().toEpochMilli())

0 commit comments

Comments
 (0)