aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnknown <jtsshieh@outlook.com>2018-02-25 11:52:53 -0500
committerUnknown <jtsshieh@outlook.com>2018-02-25 11:52:53 -0500
commit846f59ecc018704b78f0b33d6dda081fc5a5cf05 (patch)
treedd3866ea1aa28a7bb8d03032ff6fb646c853c2df
parentfb24fdcadd13beee78f8e89d293e31764a7c059d (diff)
parent815230a264de36f692a5754ccd00054ff48347d9 (diff)
downloadPokeBot-846f59ecc018704b78f0b33d6dda081fc5a5cf05.tar.gz
PokeBot-846f59ecc018704b78f0b33d6dda081fc5a5cf05.tar.bz2
PokeBot-846f59ecc018704b78f0b33d6dda081fc5a5cf05.zip
Merge remote-tracking branch 'origin/master'
-rw-r--r--.github/ISSUE_TEMPLATE.md7
-rw-r--r--commands/Fun/8ball.js2
-rw-r--r--commands/Fun/cureboredom.js10
-rw-r--r--commands/Fun/story.js3
-rw-r--r--commands/Owners Only/eval.js2
-rw-r--r--commands/Utility/uptime.js5
6 files changed, 24 insertions, 5 deletions
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
new file mode 100644
index 0000000..506aa5f
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE.md
@@ -0,0 +1,7 @@
+# Below is an example issue. This is what YOU should write in an issue.
+
+Feature requests: Please add x to the bot. It should return x when ran.
+
+Bug reports: Tell about the bug. Show screenshots and use precise details so the developers know exactly what you are talking about.
+
+After reading this you must replace this text with the error you got. \ No newline at end of file
diff --git a/commands/Fun/8ball.js b/commands/Fun/8ball.js
index 3ebd1c3..7432c63 100644
--- a/commands/Fun/8ball.js
+++ b/commands/Fun/8ball.js
@@ -36,7 +36,7 @@ exports.run = async (bot, msg, args) => {
};
exports.conf = {
- aliases: [],
+ aliases: ['ask'],
guildOnly: true,
};
diff --git a/commands/Fun/cureboredom.js b/commands/Fun/cureboredom.js
index c2e8304..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'));
@@ -18,7 +26,7 @@ exports.run = (bot, msg, args) => {
};
exports.conf = {
- aliases: [],
+ aliases: ['cboredom'],
guildOnly: true,
};
diff --git a/commands/Fun/story.js b/commands/Fun/story.js
index 56e4dac..dc2a674 100644
--- a/commands/Fun/story.js
+++ b/commands/Fun/story.js
@@ -10,6 +10,7 @@ exports.run = async (bot, msg) => {
[
`${selectedUser1.username} bought ${selectedUser2.username} his favorite video game. This game is called "Pokemon". Then, they became best friends.`,
`${selectedUser1.username} wants to become a Pokemon trainer, but he needs to get a Pokemon first!`,
+ `One day, ${selectedUser1.username} decided to go to a shop. He took his motorbike. Once he arrived at the shop, he went inside. He headed right, towards the chips. He grabbed a packet, and headed to check-out. He bumped into ${selectedUser2.username} at the counter, and decided to say hi. They had a little chat, and then decided to gossip about ${selectedUser3.username}. Then, as they were saying some horrible things about ${selectedUser3.username}, they unexpectedly showed up! Then, ${selectedUser1.username} and ${selectedUser2.username} got into a fight against ${selectedUser3.username}.\n\nKids, this is why you don't start drama.\nNow ${selectedUser1.username}, ${selectedUser2.username}, and ${selectedUser3.username} are no longer friends.`
];
const storySelected = [Math.floor(Math.random() * stories.length)];
const { RichEmbed } = require('discord.js');
@@ -23,7 +24,7 @@ exports.run = async (bot, msg) => {
};
exports.conf = {
- aliases: [],
+ aliases: ['storytime'],
guildOnly: true,
};
diff --git a/commands/Owners Only/eval.js b/commands/Owners Only/eval.js
index 062635f..8024f15 100644
--- a/commands/Owners Only/eval.js
+++ b/commands/Owners Only/eval.js
@@ -55,7 +55,7 @@ exports.run = async (bot, msg, args) => {
};
exports.conf = {
- aliases: [],
+ aliases: ['exec'],
guildOnly: false,
};
diff --git a/commands/Utility/uptime.js b/commands/Utility/uptime.js
index 63bd6a4..bc9b1fa 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[0] === 'ms') return msg.channel.send(bot.uptime + ' ms.');
+ if (args[0] === 's') return msg.channel.send(uptimeSeconds + ' seconds.');
+ if (args[0] === 'min') return msg.channel.send(Math.floor(uptime / 60) + ' minutes ' + uptimeSeconds + ' seconds.');
msg.channel.send(':clock3: Pokebot has been up for ' + hours + ' hours, ' + uptimeMinutes + ' minutes, and ' + uptimeSeconds + ' seconds.');
};