From 6651e3cc86239aa77f0728a784de40c6b6945585 Mon Sep 17 00:00:00 2001 From: Bsian Date: Tue, 19 Nov 2019 15:57:28 +0000 Subject: [PATCH] Stop erroring in DMs --- src/commands/securesign_account.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/securesign_account.ts b/src/commands/securesign_account.ts index 10d63e2..64b4ed6 100644 --- a/src/commands/securesign_account.ts +++ b/src/commands/securesign_account.ts @@ -36,7 +36,7 @@ export default class SecureSign_Account extends Command { embed.setTitle(title); embed.setDescription(description); embed.setAuthor(this.client.user.username, this.client.user.avatarURL); - embed.setFooter(`Requested by ${message.member.username}#${message.member.discriminator}`, message.member.avatarURL); + embed.setFooter(`Requested by ${message.author.username}#${message.author.discriminator}`, message.author.avatarURL); // @ts-ignore return msg.edit({ content, embed });