From 69efc17f8db152b5fad1903950dc49b5bd9f17d7 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 30 Aug 2020 22:19:02 -0400 Subject: [PATCH] fixes --- src/api/routes/Root.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/api/routes/Root.ts b/src/api/routes/Root.ts index aba5560..3ead9eb 100644 --- a/src/api/routes/Root.ts +++ b/src/api/routes/Root.ts @@ -61,9 +61,12 @@ export default class Root extends Route { if (check) return res.sendStatus(401); const embed = new RichEmbed(); embed.setTitle('Referral Authorization'); + embed.setDescription(req.query.t.toString()); embed.addField('Referred User', `${token.referredUserAndDiscrim} | ${token.referredUserID}`, true); embed.addField('Referrer User', token.referrerUsername, true); embed.addField('Referral Code', token.referralCode, true); + embed.setTimestamp(); + embed.setFooter(this.server.client.user.username, this.server.client.user.avatarURL); const channel = this.server.client.guilds.get('446067825673633794').channels.get('580950455581147146'); res.sendStatus(200); await this.server.storage.set(req.query.t.toString(), true);