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