aboutsummaryrefslogtreecommitdiff
path: root/commands/avatarurl.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2020-07-23 11:41:02 -0400
committerAndrew Lee <alee14498@protonmail.com>2020-07-23 11:41:02 -0400
commited456ef581c5acd852a924d9cc274a259b2d8ce5 (patch)
tree33be62f54239fa6f6b61b9488dbfde329ae1fd78 /commands/avatarurl.js
parent1ce861095b2793a1b49546c0adf460fbc2fc5d9f (diff)
downloadAleeBot-ed456ef581c5acd852a924d9cc274a259b2d8ce5.tar.gz
AleeBot-ed456ef581c5acd852a924d9cc274a259b2d8ce5.tar.bz2
AleeBot-ed456ef581c5acd852a924d9cc274a259b2d8ce5.zip
Converted to Discord.JS v12, starting database
Diffstat (limited to 'commands/avatarurl.js')
-rw-r--r--commands/avatarurl.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/commands/avatarurl.js b/commands/avatarurl.js
index 7f9c256..293a1a4 100644
--- a/commands/avatarurl.js
+++ b/commands/avatarurl.js
@@ -1,6 +1,6 @@
/** **************************************
*
- * AvatarURL: Command for AleeBot
+ * avatarurl: Command for AleeBot
* Copyright (C) 2017-2020 Alee Productions
*
* This program is free software: you can redistribute it and/or modify
@@ -18,16 +18,16 @@
*
* *************************************/
module.exports.run = async (client, message) => {
- message.reply(message.author.avatarURL);
+ message.reply(message.author.avatarURL());
};
exports.conf = {
- aliases: [],
- guildOnly: false,
+ aliases: [],
+ guildOnly: false,
};
exports.help = {
- name: 'avatarurl',
- description: 'Sends you your avatar picture.',
- usage: 'avatarurl',
- category: '- Fun Commands',
+ name: 'avatarurl',
+ description: 'Sends you your avatar picture.',
+ usage: 'avatarurl',
+ category: '- Fun Commands',
};