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);