aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/Fun/cureboredom.js8
-rw-r--r--commands/Utility/uptime.js5
2 files changed, 12 insertions, 1 deletions
diff --git a/commands/Fun/cureboredom.js b/commands/Fun/cureboredom.js
index 0445a5a..9c38784 100644
--- a/commands/Fun/cureboredom.js
+++ b/commands/Fun/cureboredom.js
@@ -10,6 +10,14 @@ exports.run = (bot, msg, args) => {
'Finding Bugs :bug:',
'Being with Ayana :couple:',
'Playing OS dressup :womans_clothes:',
+ 'Chatting with friends :speech_balloon:',
+ 'Livestreaming :satellite:',
+ 'Programming a Discord Bot :man_dancing:',
+ 'Listening to Anders Enger Jensen :musical_note:',
+ 'Messing with Rich Presence :gear:',
+ 'Making videos :movie_camera:',
+ 'Taking pictures :camera:',
+ 'Suggesting things for the server :dancers:',
];
if (args[0] === 'list') return msg.channel.send(ideas.join('\n'));
diff --git a/commands/Utility/uptime.js b/commands/Utility/uptime.js
index 63bd6a4..1d8529c 100644
--- a/commands/Utility/uptime.js
+++ b/commands/Utility/uptime.js
@@ -1,4 +1,4 @@
-exports.run = (bot, msg) => {
+exports.run = (bot, msg, args) => {
let uptime = parseInt(bot.uptime);
uptime = Math.floor(uptime / 1000);
let uptimeMinutes = Math.floor(uptime / 60);
@@ -9,6 +9,9 @@ exports.run = (bot, msg) => {
uptimeMinutes = uptimeMinutes - 60;
}
const uptimeSeconds = minutes % 60;
+ if (args === 'ms') return msg.channel.send(bot.uptime + ' ms.');
+ if (args === 's') return msg.channel.send(uptimeSeconds);
+ if (args === 'min') return msg.channel.send(uptime / 60 + ':' + uptimeSeconds)
msg.channel.send(':clock3: Pokebot has been up for ' + hours + ' hours, ' + uptimeMinutes + ' minutes, and ' + uptimeSeconds + ' seconds.');
};