Fix the embed name returning an userID instead of username
This commit is contained in:
parent
bd2a028370
commit
f5f94a1026
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ module.exports = {
|
||||||
handle (client, config, user, target) {
|
handle (client, config, user, target) {
|
||||||
return {
|
return {
|
||||||
embeds: [{
|
embeds: [{
|
||||||
title: `Everything you've ever wanted to know about ${target}!`,
|
title: `Everything you've ever wanted to know about ${target.user.username}!`,
|
||||||
color: 9442302,
|
color: 9442302,
|
||||||
footer: {
|
footer: {
|
||||||
icon_url: user.displayAvatarURL(),
|
icon_url: user.displayAvatarURL(),
|
||||||
|
|
Reference in a new issue