From 14f2399bfb7b54f88d1a86fc010cf3c6007c8bc4 Mon Sep 17 00:00:00 2001 From: lilyissillyyy Date: Sat, 13 Sep 2025 23:51:02 -0400 Subject: [PATCH] Shakespeare Insult --- README.md | 3 +- assets/json/shakespeare-insult.json | 157 ++++++++++++++++++++++ commands/random-res/shakespeare-insult.js | 20 +++ 3 files changed, 179 insertions(+), 1 deletion(-) create mode 100644 assets/json/shakespeare-insult.json create mode 100644 commands/random-res/shakespeare-insult.js diff --git a/README.md b/README.md index a22fb49e..7e47ac5d 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ Only if you want to use the DECTalk command. 18. Start Xiao up! ## Commands -Total: 517 +Total: 518 ### Utility: @@ -181,6 +181,7 @@ Total: 517 * **roast:** Roasts a user. * **roll:** Rolls a dice with a minimum/maximum value of your choice. * **security-key:** Responds with a random security key. +* **shakespeare-insult:** Lets Shakespeare insult you. * **smw-level:** Responds with a random Super Mario World level name. * **suggest-command:** Suggests a random command for you to try. * **superpower:** Responds with a random superpower. diff --git a/assets/json/shakespeare-insult.json b/assets/json/shakespeare-insult.json new file mode 100644 index 00000000..70d5f66e --- /dev/null +++ b/assets/json/shakespeare-insult.json @@ -0,0 +1,157 @@ +[ + [ + "artless", + "bawdy", + "beslubbering", + "bootless", + "churlish", + "cockered", + "clouted", + "craven", + "currish", + "dankish", + "dissembling", + "droning", + "errant", + "fawning", + "fobbing", + "froward", + "frothy", + "gleeking", + "goatish", + "gorbellied", + "impertinent", + "infectious", + "jarring", + "joggerheaded", + "lumpish", + "mammering", + "mangled", + "mewling", + "paunchy", + "pribbling", + "puking", + "puny", + "rank", + "reeky", + "roguish", + "ruftish", + "saucy", + "spleeny", + "spongy", + "surly", + "tottering", + "unmuzzled", + "vain", + "venomed", + "villainous", + "warped", + "wayward", + "weedy", + "yeasty" + ], + [ + "base-court", + "bat-forling", + "beef-witted", + "beetle-headed", + "boil-brained", + "clapper-clawed", + "clay-brained", + "common-kissing", + "crook-pated", + "dismal-dreaming", + "dizzy-eyed", + "doghearted", + "dread-bolted", + "earth-vexing", + "elf-skinned", + "fat-kidneyed", + "fen-sucked", + "flap-mothed", + "fly-bitten", + "folly-fallen", + "fool-born", + "fill-gorged", + "guts-griping", + "half-faced", + "hasty-witted", + "hedge-born", + "hell-hated", + "idle-headed", + "ill-breeding", + "ill-nurtured", + "knotty-pated", + "milk-livered", + "motley-minded", + "onion-eyed", + "plume-plucked", + "pottle-deep", + "pox-marked", + "reeling-ripe", + "rough-hewn", + "rude-growing", + "rump-faced", + "shard-borne", + "sheep-biting", + "spur-galled", + "swag-bellied", + "tardy-gaited", + "tickle-brained", + "toad-spotted", + "unchin-snoted", + "weather-bitten" + ], + [ + "apple-john", + "baggage", + "barnacle", + "bladder", + "boar-pig", + "bugbear", + "bum-bailey", + "canket-blossom", + "clack-dish", + "clotpole", + "coxcomb", + "codpiece", + "death-token", + "dewberry", + "flap-dragon", + "flax-wench", + "flirt-gill", + "foot-licker", + "futilarrian", + "giglet", + "gudgeon", + "haggard", + "harpy", + "hedge-pig", + "horn-beast", + "hugger-mugger", + "joithead", + "lewduster", + "lout", + "maggot-pie", + "malt-worm", + "mammet", + "measle", + "minnow", + "miscreant", + "moldwarp", + "mumble-news", + "nut-hook", + "pigeon-egg", + "pignut", + "puttock", + "pumbion", + "ratsbane", + "scut", + "skainsmate", + "strumpot", + "varlot", + "vassal", + "wheyface", + "wagtail" + ] +] diff --git a/commands/random-res/shakespeare-insult.js b/commands/random-res/shakespeare-insult.js new file mode 100644 index 00000000..55335891 --- /dev/null +++ b/commands/random-res/shakespeare-insult.js @@ -0,0 +1,20 @@ +const Command = require('../../framework/Command'); +const insults = require('../../assets/json/shakespeare-insult'); + +module.exports = class ShakespeareInsultCommand extends Command { + constructor(client) { + super(client, { + name: 'shakespeare-insult', + aliases: ['shakespeare', 'shakespeare-insulter'], + group: 'random-res', + description: 'Lets Shakespeare insult you.' + }); + } + + run(msg) { + const first = insults[0][Math.floor(Math.random() * insults[0].length)]; + const second = insults[1][Math.floor(Math.random() * insults[1].length)]; + const third = insults[2][Math.floor(Math.random() * insults[2].length)]; + return msg.reply(`Thou ${first} ${second} ${third}.`); + } +};