fedimbed: fix no stats
This commit is contained in:
parent
89f2306baa
commit
3d56947d05
1 changed files with 3 additions and 1 deletions
|
@ -1418,7 +1418,9 @@ async function processUrl(msg, url, spoiler = false, command = false) {
|
|||
components: [
|
||||
{
|
||||
type: 10,
|
||||
content: `-# ${stats}\n${platformName} \u2022 <t:${Math.floor(new Date(timestamp).getTime() / 1000)}:F>`,
|
||||
content: `${stats.length > 0 ? "-# " + stats + "\n" : ""}${platformName} \u2022 <t:${Math.floor(
|
||||
new Date(timestamp).getTime() / 1000
|
||||
)}:F>`,
|
||||
},
|
||||
],
|
||||
accessory: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue