aboutsummaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorAlee14 <alee14498@gmail.com>2018-01-27 10:53:10 -0500
committerAlee14 <alee14498@gmail.com>2018-01-27 10:53:10 -0500
commit95a041d4d3b3c4f2091fb3086e274c6e7818fd63 (patch)
tree822ba94e4ddb63cee9d4b3dd3982f779b25259f4 /src/commands
parent4083aacf8c5b9cd3204faa3c788190c730e346f5 (diff)
downloadAleeBot-95a041d4d3b3c4f2091fb3086e274c6e7818fd63.tar.gz
AleeBot-95a041d4d3b3c4f2091fb3086e274c6e7818fd63.tar.bz2
AleeBot-95a041d4d3b3c4f2091fb3086e274c6e7818fd63.zip
Changes
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/changelog.js2
-rw-r--r--src/commands/help.js2
-rw-r--r--src/commands/ping.js2
-rw-r--r--src/commands/uptime.js2
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);