mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix Avatar
This commit is contained in:
@@ -3,3 +3,5 @@ package-lock.json
|
||||
logs/
|
||||
*.log
|
||||
.env
|
||||
|
||||
commands/games-mp/dots-and-boxes.js
|
||||
|
||||
@@ -29,7 +29,7 @@ module.exports = class AvatarCommand extends Command {
|
||||
const embed = new MessageEmbed()
|
||||
.setTitle(user.tag)
|
||||
.setDescription(
|
||||
formats.map(fmt => embedURL(fmt.toUpperCase(), user.displayAvatarURL({ format: fmt, size: 2028 }))).join(' | ')
|
||||
formats.map(fmt => embedURL(fmt.toUpperCase(), user.displayAvatarURL({ format: fmt, size: 2048 }))).join(' | ')
|
||||
)
|
||||
.setImage(user.displayAvatarURL({ format, size: 2048 }))
|
||||
.setColor(0x00AE86);
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "112.19.3",
|
||||
"version": "112.19.4",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user