diff --git a/assets/json/tag.json b/assets/json/tag.json deleted file mode 100644 index 35ab2af4..00000000 --- a/assets/json/tag.json +++ /dev/null @@ -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" -} diff --git a/assets/json/xiao.json b/assets/json/xiao.json index 350efcb5..8e0f13ac 100644 --- a/assets/json/xiao.json +++ b/assets/json/xiao.json @@ -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" ] diff --git a/commands/random/coolness.js b/commands/random/coolness.js index 2a329cb6..30e0a020 100644 --- a/commands/random/coolness.js +++ b/commands/random/coolness.js @@ -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.`); diff --git a/commands/random/its-joke.js b/commands/random/its-joke.js new file mode 100644 index 00000000..41b59f80 --- /dev/null +++ b/commands/random/its-joke.js @@ -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'] }); + } +}; diff --git a/commands/random/tag.js b/commands/random/tag.js deleted file mode 100644 index fcf39368..00000000 --- a/commands/random/tag.js +++ /dev/null @@ -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]); - } -}; diff --git a/package.json b/package.json index 41f93d64..589dff23 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiaobot", - "version": "41.5.1", + "version": "42.0.0", "description": "Your personal server companion.", "main": "Shard.js", "scripts": {