mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 14:21:41 +02:00
Avatar Command Too
This commit is contained in:
@@ -17,6 +17,6 @@ module.exports = class AvatarCommand extends Command {
|
|||||||
|
|
||||||
run(msg, args) {
|
run(msg, args) {
|
||||||
const { user } = args;
|
const { user } = args;
|
||||||
return msg.say(user.displayAvatarURL);
|
return msg.say(user.avatarURL('png', 2048) || user.displayAvatarURL);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiaobot",
|
"name": "xiaobot",
|
||||||
"version": "17.1.2",
|
"version": "17.1.3",
|
||||||
"description": "A Discord Bot",
|
"description": "A Discord Bot",
|
||||||
"main": "shardingmanager.js",
|
"main": "shardingmanager.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user