Stop erroring in DMs

merge-requests/1/merge
Bsian 2019-11-19 15:57:28 +00:00
parent 6106fb067c
commit 6651e3cc86
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ export default class SecureSign_Account extends Command {
embed.setTitle(title); embed.setTitle(title);
embed.setDescription(description); embed.setDescription(description);
embed.setAuthor(this.client.user.username, this.client.user.avatarURL); 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 // @ts-ignore
return msg.edit({ content, embed }); return msg.edit({ content, embed });