Improved sync logic, show more statistics, bug fixes

This commit is contained in:
James Shiffer
2023-10-08 13:48:41 -07:00
parent 68b94e0642
commit 657afe4755
7 changed files with 164 additions and 62 deletions

View File

@@ -49,3 +49,84 @@ html
img(src="/avatars/" + row.id + ".webp", height="64")
td
span= row.reaction_3_total
br
h1 Funniest Messages 💀
table
tbody
each row in msg1
tr
td
img(src="/avatars/" + row.author + ".webp", height="48")
td
if row.content
span= row.content
else
span
i (media)
tr
td
a(href="https://discord.com/channels/" + row.guild + "/" + row.channel + "/" + row.id) Link
td
span= "💀 " + row.reaction_1_count
br
h1 Realest Messages 💯
table
tbody
each row in msg2
tr
td
img(src="/avatars/" + row.author + ".webp", height="48")
td
if row.content
span= row.content
else
span
i (media)
tr
td
a(href="https://discord.com/channels/" + row.guild + "/" + row.channel + "/" + row.id) Link
td
span= "💯 " + row.reaction_2_count
br
h1 Cunniest Messages 😭
table
tbody
each row in msg3
tr
td
img(src="/avatars/" + row.author + ".webp", height="48")
td
if row.content
span= row.content
else
span
i (media)
tr
td
a(href="https://discord.com/channels/" + row.guild + "/" + row.channel + "/" + row.id) Link
td
span= "😭 " + row.reaction_3_count
br
h1 Best Messages 💀💯😭
table
tbody
each row in bestMsg
tr
td
img(src="/avatars/" + row.author + ".webp", height="48")
td
if row.content
span= row.content
else
span
i (media)
tr
td
a(href="https://discord.com/channels/" + row.guild + "/" + row.channel + "/" + row.id) Link
td
if row.reaction_1_count
span= " 💀 " + row.reaction_1_count
if row.reaction_2_count
span= " 💯 " + row.reaction_2_count
if row.reaction_3_count
span= " 😭 " + row.reaction_3_count