We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce3903a commit 3463708Copy full SHA for 3463708
src/structures/Game.ts
@@ -187,18 +187,20 @@ export default class Game extends BaseStructure {
187
)}:R>`,
188
inline: true,
189
};
190
+ let content = `[click here to view it on the website.](${this.config.host})`;
191
192
if (toArchive) {
193
method = 'POST';
194
url = this.webhookArchiveURL;
195
lastField.name = 'Total Participants:';
196
lastField.value = String(uniqueIDs.size);
197
+ content = "";
198
}
199
200
const payload = {
201
username: 'Artboard',
202
avatar_url: this.config.host + '/images/icon-avatar.png',
- content: `[click here to view it on the website.](${this.config.host})`,
203
+ content,
204
embeds: [
205
{
206
image: { url: 'attachment://image.png' },
0 commit comments