Don't hardcode client avatar

This commit is contained in:
SileNce5k 2021-06-27 02:44:30 +02:00
parent 8d130b1519
commit 2b3e6cd598
No known key found for this signature in database
GPG key ID: C507260E7F2583AD

View file

@ -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)`,
},) },)