From 95a041d4d3b3c4f2091fb3086e274c6e7818fd63 Mon Sep 17 00:00:00 2001 From: Alee14 Date: Sat, 27 Jan 2018 10:53:10 -0500 Subject: Changes --- src/commands/changelog.js | 2 +- src/commands/help.js | 2 +- src/commands/ping.js | 2 +- src/commands/uptime.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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); -- cgit v1.2.3