We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fa1f68 commit 62fadf2Copy full SHA for 62fadf2
bot/src/epic_games.js
@@ -130,10 +130,10 @@ function format_message(game) {
130
name: `${game.start_date == null ? now_text : coming_soon_text}`,
131
value: `${game.start_date == null ? game.end_date : game.start_date}`
132
},
133
- ...(game.url_slug != "error" && {
+ ...(game.url_slug != "error" ? [{
134
name: '',
135
value: `[Open in Epic Launcher](${redirect_base + game.url_slug})`
136
- }),
+ }] : []),
137
],
138
139
];
0 commit comments