Brony Speak Command

This commit is contained in:
Daniel Odendahl Jr
2018-08-20 02:46:56 +00:00
parent 19e15313e1
commit 72db0f1a98
4 changed files with 146 additions and 3 deletions
+2 -1
View File
@@ -15,7 +15,7 @@ Xiao is a Discord bot coded in JavaScript with
The bot is no longer available for invite. You can self-host the bot, or use her
on the [home server](https://discord.gg/sbMe32W).
## Commands (293)
## Commands (294)
### Utility:
* **eval**: Executes JavaScript code.
@@ -282,6 +282,7 @@ on the [home server](https://discord.gg/sbMe32W).
* **base64**: Converts text to/from Base64.
* **binary**: Converts text to/from binary.
* **braille**: Converts text to braille.
* **brony-speak**: Converts text to brony speak.
* **clap**: Sends 👏 text 👏 like 👏 this.
* **cow-say**: Makes a cow say your text.
* **cow-think**: Makes a cow think your text.
+112
View File
@@ -0,0 +1,112 @@
{
"hand": "hoof",
"hands": "hooves",
"foot": "hoof",
"feet": "hooves",
"ass": "flank",
"asses": "flanks",
"butt": "flank",
"butts": "flanks",
"anyone": "anypony",
"cowboy": "cowpony",
"cowboys": "cowponies",
"cowgirl": "cowpony",
"cowgirls": "cowponies",
"person": "pony",
"people": "ponies",
"persons": "ponies",
"hell": "hay",
"heck": "hay",
"nail": "hoof",
"nails": "hooves",
"arm": "hoof",
"arms": "hooves",
"brofist": "brohoof",
"fist": "hoof",
"fists": "hooves",
"ladies": "mares",
"lady": "mare",
"gentlemen": "stallions",
"gentleman": "stallion",
"shit": "horseapples",
"shits": "horseapples",
"naysayer": "neigh-sayer",
"naysayers": "neigh-sayers",
"nay": "neigh",
"noone": "nopony",
"nobody": "nopony",
"nobodies": "noponies",
"fuck": "horseapples",
"fucks": "horseapples",
"fucking": "horseappling",
"fucker": "horseappler",
"fuckers": "horseapplers",
"scaredy-cat": "scaredy-pony",
"scaredy-cats": "scaredy-ponies",
"single-handedly": "single-hoofedly",
"singlehandedly": "singlehoofedly",
"second-hand": "second-hoof",
"secondhand": "secondhoof",
"handed": "hoofed",
"someone": "somepony",
"somebody": "somepony",
"somebodies": "someponies",
"god": "Celestia",
"world": "Ponyville",
"fan": "brony",
"fans": "bronies",
"fap": "clop",
"porn": "clopfic",
"porno": "clopfic",
"pornography": "clopfic",
"empty-handed": "empty-hoofed",
"emptyhanded": "emptyhoofed",
"girlfriend": "fillyfriend",
"girlfriends": "fillyfriends",
"boyfriend": "coltfriend",
"boyfriends": "coltfriends",
"childhood": "fillyhood",
"child": "filly",
"children": "fillies",
"kid": "filly",
"kids": "fillies",
"first-hand": "first-hoof",
"firsthand": "firsthoof",
"footsteps": "hoofsteps",
"footstep": "hoofstep",
"hair": "mane",
"trolling": "paraspriting",
"troll": "parasprite",
"hater": "parasprite",
"parasite": "parasprite",
"mankind": "ponykind",
"stalemate": "stalemare",
"handjob": "hoofjob",
"hand-job": "hoof-job",
"gay": "coltcuddler",
"gays": "coltcuddlers",
"lesbian": "fillyfooler",
"lesbians": "fillyfoolers",
"adopt": "claim",
"adoption": "claiming",
"baby": "foal",
"babies": "foals",
"knuckle": "fetlock",
"knuckles": "fetlocks",
"girl": "filly",
"girls": "fillies",
"boy": "colt",
"boys": "colts",
"toddler": "yearling",
"toddlers": "yearlings",
"man": "stallion",
"men": "stallions",
"male": "stallion",
"males": "stallions",
"woman": "mare",
"women": "mares",
"female": "mare",
"females": "mares",
"teleport": "wink",
"teleporting": "winking"
}
+30
View File
@@ -0,0 +1,30 @@
const Command = require('../../structures/Command');
const { wordTrans } = require('custom-translate');
const dictionary = require('../../assets/json/brony-speak');
module.exports = class BronySpeakCommand extends Command {
constructor(client) {
super(client, {
name: 'brony-speak',
aliases: ['pony-speak'],
group: 'text-edit',
memberName: 'brony-speak',
description: 'Converts text to brony speak.',
args: [
{
key: 'text',
prompt: 'What text would you like to convert to brony speak?',
type: 'string',
validate: text => {
if (wordTrans(text, dictionary).length < 2000) return true;
return 'Invalid text, your text is too long.';
}
}
]
});
}
run(msg, { text }) {
return msg.say(wordTrans(text, dictionary));
}
};
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "87.2.0",
"version": "87.3.0",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {
@@ -35,7 +35,7 @@
"cheerio": "1.0.0-rc.2",
"common-tags": "^1.8.0",
"cowsay": "^1.3.1",
"custom-translate": "^2.2.4",
"custom-translate": "^2.2.5",
"discord.js": "github:discordjs/discord.js",
"discord.js-commando": "github:discordjs/Commando",
"erlpack": "github:discordapp/erlpack",