diff options
Diffstat (limited to 'src/commands')
| -rw-r--r-- | src/commands/changelog.js | 2 | ||||
| -rw-r--r-- | src/commands/help.js | 2 | ||||
| -rw-r--r-- | src/commands/ping.js | 2 | ||||
| -rw-r--r-- | src/commands/uptime.js | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/commands/changelog.js b/src/commands/changelog.js index 4480ba0..a03c064 100644 --- a/src/commands/changelog.js +++ b/src/commands/changelog.js @@ -1,4 +1,4 @@ -module.exports.run = async (client, message, args) => {
+module.exports.run = async (client, message, args, abVersion) => {
var embed = new Discord.RichEmbed()
.setAuthor('AleeBot ' + abVersion + `Changelog`, "https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048")
.setDescription("What's new in AleeBot?")
diff --git a/src/commands/help.js b/src/commands/help.js index fe084cf..6748382 100644 --- a/src/commands/help.js +++ b/src/commands/help.js @@ -1,5 +1,5 @@ const Discord = require('discord.js');
-module.exports.run = async (client, message, args) => {
+module.exports.run = async (client, message, args, abVersion) => {
var embed = new Discord.RichEmbed()
.setAuthor('AleeBot ' + abVersion + ` Help and on ${client.guilds.size} servers`, "https://cdn.discordapp.com/avatars/282547024547545109/6c147a444ae328c38145ef1f74169e38.png?size=2048")
.setDescription("Every command you input into AleeBot is `" + config.prefix + "`")
diff --git a/src/commands/ping.js b/src/commands/ping.js index 3ed1702..e2ff213 100644 --- a/src/commands/ping.js +++ b/src/commands/ping.js @@ -1,4 +1,4 @@ -module.exports.run = async (client, message, args) => {
+module.exports.run = async (client, message, args, abVersion) => {
message.reply("**PONG!** :ping_pong: " + Math.round(client.ping) + " ms");
}
diff --git a/src/commands/uptime.js b/src/commands/uptime.js index 99f9f50..6678044 100644 --- a/src/commands/uptime.js +++ b/src/commands/uptime.js @@ -1,4 +1,4 @@ -module.exports.run = async (client, message, args) => {
+module.exports.run = async (client, message, args, abVersion) => {
var uptime = parseInt(client.uptime);
uptime = Math.floor(uptime / 1000);
|
