Kill Tags

This commit is contained in:
Daniel Odendahl Jr
2017-09-22 19:56:54 +00:00
parent a5e40ec1ca
commit 39c87c42e8
6 changed files with 21 additions and 81 deletions
-47
View File
@@ -1,47 +0,0 @@
{
"if900hp": "All cars unlocked!",
"i'm an easter egg": "You're also an example.",
"not a valid tag": "No, it's not valid at all.",
"easter egg": "This command is _tag_, not _easter egg_ 😋",
"tag": "Invalid tag!",
"snek": "_Blame 🐍_",
"snekfetch": "The best.",
"xiaobot": "That's my name.",
"dragonfire535": "http://dragonfire.space",
"heroes of dreamland": "https://www.wattpad.com/story/8712240",
"neopets": "I got robbed by the pant devil.",
"koneko-chan": "https://i.ytimg.com/vi/YStwTmG4Ex0/hqdefault.jpg",
"shrug": "¯\\_(ツ)_/¯",
"vulcan": "🖖",
"soundboard": "Rest in Peace...",
"me": "You.",
"no u": "no u",
"i never asked for this": "https://cdn.discordapp.com/attachments/252317073814978561/304811008457834516/image.jpg",
"egg": "You're an egg.",
"beta": "https://cdn.discordapp.com/attachments/252317073814978561/304812045851688963/image.jpg",
"pathetic": "https://cdn.discordapp.com/attachments/252317073814978561/304812045851688963/image.jpg",
"swagolor": "https://cdn.discordapp.com/attachments/252317073814978561/306110096491151363/Swagolor.png",
"just do it": "https://www.youtube.com/watch?v=ZXsQAXx_ao0",
"april": "https://i.imgur.com/c60iG3E.png",
"captain karen": "https://i.imgur.com/8TFq5If.jpg",
"karen": "https://i.imgur.com/a4ZbCiO.png",
"rules": "https://i.imgur.com/PYeFBU5.png",
"book1": "Book.",
"new": "Nope, not quite yet.",
"adam": "Adam pls.",
"token": "[REDACTED]",
"nom": "https://cdn.discordapp.com/attachments/256055608279695360/308434352377954304/tumblr_ojzfs3jjoJ1qz64n4o1_540.gif",
"good vs evil": "https://cdn.discordapp.com/attachments/256055608279695360/308404323392684033/837631b64ef351ddabe8c2200c2feca54d81af62_hq.jpg",
"ebearskittychan": "The best ❤",
"i am your father": "NOOOOOOOOOOOOOO!",
"waifu": "I'm your waifu, right?",
"no": "yes",
"miki": "Pure Evil.",
"pokemon": "Gotta catch 'em all.",
"angery": "https://cdn.discordapp.com/attachments/256055608279695360/308701431165091840/angerey.png",
"banana": "https://cdn.discordapp.com/attachments/256055608279695360/308771979010244618/vfy6JExK7Ryhi.gif",
"yuno gasai": "https://cdn.discordapp.com/attachments/256055608279695360/308658394766508033/ff79c3c19cf7e6fdc00c1c26c204c3f6.jpg",
"why": "https://www.youtube.com/watch?v=sluHwh3hJhI",
"it's joke": "https://i.imgur.com/Gmsx9Ma.jpg",
"xd": "https://i.imgur.com/qdKDbRc.jpg"
}
+2 -1
View File
@@ -12,5 +12,6 @@
"https://i.imgur.com/5us5NJV.jpg",
"https://i.imgur.com/wer5YR0.jpg",
"https://i.imgur.com/mVtyf33.jpg",
"https://i.imgur.com/js8AJMo.jpg"
"https://i.imgur.com/js8AJMo.jpg",
"https://i.imgur.com/c60iG3E.png"
]
+1 -1
View File
@@ -22,7 +22,7 @@ module.exports = class CoolnessCommand extends Command {
if (!user) user = msg.author;
const coolness = user.id / this.client.user.id;
const prefix = user.id === msg.author.id ? 'You\'re' : 'They\'re';
if (user.id === '234318196893548545') return msg.reply(`${prefix} the best person ever.`);
if (user.id === '234318196893548545') return msg.reply(`${prefix} the best person ever.`);
if (coolness < 0.3) return msg.reply(`${prefix} the coolest being to walk this Earth.`);
if (coolness < 0.5) return msg.reply(`${prefix} an extremely cool dude.`);
if (coolness < 0.8) return msg.reply(`${prefix} pretty sweet, not gonna lie.`);
+17
View File
@@ -0,0 +1,17 @@
const Command = require('../../structures/Command');
module.exports = class ItsJokeCommand extends Command {
constructor(client) {
super(client, {
name: 'its-joke',
group: 'random',
memberName: 'its-joke',
description: 'It\'s joke!',
clientPermissions: ['ATTACH_FILES']
});
}
run(msg) {
return msg.say({ files: ['https://i.imgur.com/Gmsx9Ma.jpg'] });
}
};
-31
View File
@@ -1,31 +0,0 @@
const Command = require('../../structures/Command');
const { list } = require('../../structures/Util');
const tags = require('../../assets/json/tag');
module.exports = class TagCommand extends Command {
constructor(client) {
super(client, {
name: 'tag',
aliases: ['easter-egg', 'mini-command'],
group: 'random',
memberName: 'tag',
description: 'Little mini responses that didn\'t quite make the command cut.',
args: [
{
key: 'tag',
prompt: `What tag do you want to view? Either ${list(Object.keys(tags), 'or')}.`,
type: 'string',
validate: tag => {
if (tags[tag.toLowerCase()]) return true;
return `Invalid tag, please enter either ${list(Object.keys(tags), 'or')}.`;
},
parse: tag => tag.toLowerCase()
}
]
});
}
run(msg, { tag }) {
return msg.say(tags[tag]);
}
};
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "41.5.1",
"version": "42.0.0",
"description": "Your personal server companion.",
"main": "Shard.js",
"scripts": {