Don't hardcode client avatar
This commit is contained in:
parent
8d130b1519
commit
2b3e6cd598
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ module.exports = {
|
||||||
.setColor(15780145)
|
.setColor(15780145)
|
||||||
.setTitle("Information about bot")
|
.setTitle("Information about bot")
|
||||||
.setTimestamp()
|
.setTimestamp()
|
||||||
.setAuthor(client.user.username, "https://cdn.discordapp.com/avatars/481128222147477506/1a30f57f8e403f54aaca502012aeff14.png?size=2048")
|
.setAuthor(client.user.username, client.user.avatarURL({ dynamic: true, size: 4096 }))
|
||||||
.addFields({
|
.addFields({
|
||||||
name: "General info", value: `Name: ${client.user.username}\nPrefix: ${prefix}\nTotal Servers: ${client.guilds.toString().length}\nCreation Date: ${createJoin.creation}\nSource: [Click Here](https://github.com/SileNce5k/discord_bot)`,
|
name: "General info", value: `Name: ${client.user.username}\nPrefix: ${prefix}\nTotal Servers: ${client.guilds.toString().length}\nCreation Date: ${createJoin.creation}\nSource: [Click Here](https://github.com/SileNce5k/discord_bot)`,
|
||||||
},)
|
},)
|
||||||
|
|
Loading…
Add table
Reference in a new issue