Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
codecat committed Jul 16, 2021
1 parent 2b5923e commit 2bc8b26
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,12 +296,12 @@ class EventSchedule
lines++;

if (set.nothing) {
ret += "- <t:" + set.date.unix() + ":F>, the stream will be offline :no_entry_sign:\n";
ret += "- <t:" + set.date.unix() + ":t> (<t:" + set.date.unix() + ":R>), the stream will be offline :no_entry_sign:\n";
} else {
if (set.who) {
ret += "- <t:" + set.date.unix() + ":F>: **" + set.name + "** (" + set.who + ")\n";
ret += "- <t:" + set.date.unix() + ":t> (<t:" + set.date.unix() + ":R>): **" + set.name + "** (" + set.who + ")\n";
} else {
ret += "- <t:" + set.date.unix() + ":F>: **" + set.name + "**\n";
ret += "- <t:" + set.date.unix() + ":t> (<t:" + set.date.unix() + ":R>): **" + set.name + "**\n";
}
}
}
Expand Down Expand Up @@ -498,7 +498,7 @@ class EventSchedule
}

if (next !== null) {
line += " :arrow_forward: Next: __" + next.name + "__ <t:" + next.date + ":R>";
line += " :arrow_forward: Next: __" + next.name + "__ <t:" + next.date.unix() + ":R>";
} else {
line += " :warning: This is the last set!";
}
Expand Down

0 comments on commit 2bc8b26

Please sign in to comment.