aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/extensions')
-rw-r--r--src/lib/extensions/discord-akairo/BushClientUtil.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClientUtil.ts b/src/lib/extensions/discord-akairo/BushClientUtil.ts
index 8f1e67a..aa64562 100644
--- a/src/lib/extensions/discord-akairo/BushClientUtil.ts
+++ b/src/lib/extensions/discord-akairo/BushClientUtil.ts
@@ -205,11 +205,11 @@ export class BushClientUtil extends ClientUtil {
}
let embed = new MessageEmbed().setTimestamp();
if (author)
- embed = embed.setAuthor(
- author.username,
- author.displayAvatarURL({ dynamic: true }),
- `https://discord.com/users/${author.id}`
- );
+ embed = embed.setAuthor({
+ name: author.username,
+ iconURL: author.displayAvatarURL({ dynamic: true }),
+ url: `https://discord.com/users/${author.id}`
+ });
if (color) embed = embed.setColor(color);
return embed;
}