summaryrefslogtreecommitdiff
path: root/src/commands/fun
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-29 14:42:03 -0700
committer8cy <[email protected]>2020-04-29 14:42:03 -0700
commit9b2ab3b7a29983beba6908644a69925fd7adf253 (patch)
tree2d62bbe56895bf1349b86f89d021d0ce67f6a608 /src/commands/fun
parentformatting, blacklists, v9.0.1 (diff)
downloaddep-core-9b2ab3b7a29983beba6908644a69925fd7adf253.tar.xz
dep-core-9b2ab3b7a29983beba6908644a69925fd7adf253.zip
add contact cmds, qol updates/ formatting, v9.1.0
Diffstat (limited to 'src/commands/fun')
-rw-r--r--src/commands/fun/offspring.ts3
-rw-r--r--src/commands/fun/opinion.ts2
-rw-r--r--src/commands/fun/quote.ts2
-rw-r--r--src/commands/fun/romannumeral.ts55
-rw-r--r--src/commands/fun/showerthought.ts2
-rw-r--r--src/commands/fun/spoiler.ts2
6 files changed, 6 insertions, 60 deletions
diff --git a/src/commands/fun/offspring.ts b/src/commands/fun/offspring.ts
index 7152a1c..e603f76 100644
--- a/src/commands/fun/offspring.ts
+++ b/src/commands/fun/offspring.ts
@@ -6,9 +6,10 @@ module.exports = class OffspringFun extends Command {
constructor(client) {
super(client, {
name: 'offspring',
+ aliases: ['gender'],
group: 'fun',
memberName: 'offspring',
- description: 'Determines your child\'s gender.',
+ description: 'Determines your future child\'s gender.',
examples: ['uwu!offspring'],
throttling: {
usages: 5,
diff --git a/src/commands/fun/opinion.ts b/src/commands/fun/opinion.ts
index eada220..353846f 100644
--- a/src/commands/fun/opinion.ts
+++ b/src/commands/fun/opinion.ts
@@ -9,7 +9,7 @@ module.exports = class OpinionFun extends Command {
name: 'opinion',
group: 'fun',
memberName: 'opinion',
- description: 'Determines the bot\'s opinion of a specified thing.',
+ description: 'Determines uwufier\'s opinion of a specified thing.',
examples: ['uwu!opinion'],
throttling: {
usages: 5,
diff --git a/src/commands/fun/quote.ts b/src/commands/fun/quote.ts
index 5149bbc..e090574 100644
--- a/src/commands/fun/quote.ts
+++ b/src/commands/fun/quote.ts
@@ -16,7 +16,7 @@ module.exports = class QuoteFun extends Command {
aliases: ['quotes'],
group: 'fun',
memberName: 'quote',
- description: 'Gives you a random quote from Adventure Time.',
+ description: 'Either gives you a random quote or a quote from a specified category.',
throttling: {
usages: 5,
duration: 30
diff --git a/src/commands/fun/romannumeral.ts b/src/commands/fun/romannumeral.ts
deleted file mode 100644
index f7a805f..0000000
--- a/src/commands/fun/romannumeral.ts
+++ /dev/null
@@ -1,55 +0,0 @@
-import { Command, CommandoMessage } from 'discord.js-commando';
-import emoji from 'emoji-random'
-import romanize from 'romanize'
-
-module.exports = class RomanNumeralFun extends Command {
- constructor(client) {
- super(client, {
- name: 'romannumeral',
- aliases: [
- 'roman-numeral',
- 'romannumerals',
- 'roman-numerals'
- ],
- group: 'fun',
- memberName: 'romannumeral',
- description: 'Converts a number to a roman numeral.',
- examples: ['uwu!romannumeral 12'],
- throttling: {
- usages: 5,
- duration: 30
- },
- userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
- clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
- args: [
- {
- key: 'nNum',
- prompt: 'What number would you like to translate',
- type: 'integer',
- min: 1
- }
- ]
- });
- }
- run(msg: CommandoMessage, { nNum }) {
- if (nNum === parseInt(nNum, 10)) {
- msg.reply(romanize(nNum))
- }
-
- const back = value => {
- let res = 0
-
- const decimal = [1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1]
- const roman = ["M", "CM", "D", "CD", "C", "XC", "L", "XL", "X", "IX", "V", "IV", "I"]
- for (let i = 0; i <= decimal.length; i++) {
- while (value.indexOf(roman[i]) === 0) {
- res += decimal[i]
- value = value.replace(roman[i], '')
- }
- }
- return res
- }
-
- msg.reply(back(nNum))
- }
-}; \ No newline at end of file
diff --git a/src/commands/fun/showerthought.ts b/src/commands/fun/showerthought.ts
index 5ee7cb4..ba7e86a 100644
--- a/src/commands/fun/showerthought.ts
+++ b/src/commands/fun/showerthought.ts
@@ -12,7 +12,7 @@ module.exports = class ShowerThoughtFun extends SubredditCommand {
],
group: 'fun',
memberName: 'showerthought',
- description: 'Shower thoughts.',
+ description: 'Gives you a shower thought from **r/Showerthought**.',
examples: ['uwu!showerthought'],
throttling: {
usages: 5,
diff --git a/src/commands/fun/spoiler.ts b/src/commands/fun/spoiler.ts
index 4144f48..a2517cb 100644
--- a/src/commands/fun/spoiler.ts
+++ b/src/commands/fun/spoiler.ts
@@ -7,7 +7,7 @@ module.exports = class SpoilerFun extends Command {
aliases: ['spoil', 'spoilertext', 'spoiler-text', 'spoiltext', 'spoil-text'],
group: 'fun',
memberName: 'spoiler',
- description: 'Turn every character in a specified phrase as a ||spoiler||.',
+ description: 'Turn every character in a specified phrase as a ||s||||p||||o||||i||||l||||e||||r||.',
args: [
{
key: 'say',