summaryrefslogtreecommitdiff
path: root/src/commands/anime
diff options
context:
space:
mode:
author8cy <[email protected]>2020-07-23 23:24:17 -0700
committer8cy <[email protected]>2020-07-23 23:24:17 -0700
commitbb511abc03bb66848947e37a999502b813c77269 (patch)
tree612c010fc8317e1cdf11471a18aad0270819d33e /src/commands/anime
parentfix: if clear amount equal or over 100, round down to 99 (diff)
downloaddep-core-bb511abc03bb66848947e37a999502b813c77269.tar.xz
dep-core-bb511abc03bb66848947e37a999502b813c77269.zip
goodbye old uwufier :cry:
Diffstat (limited to 'src/commands/anime')
-rw-r--r--src/commands/anime/uwufy.ts39
-rw-r--r--src/commands/anime/waifu.ts35
2 files changed, 0 insertions, 74 deletions
diff --git a/src/commands/anime/uwufy.ts b/src/commands/anime/uwufy.ts
deleted file mode 100644
index f9f0187..0000000
--- a/src/commands/anime/uwufy.ts
+++ /dev/null
@@ -1,39 +0,0 @@
-import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
-//@ts-ignore no types
-import emoji from 'emoji-random';
-import uwufy from 'uwufy'
-
-module.exports = class UwufyAnime extends Command {
- constructor(client: CommandoClient) {
- super(client, {
- name: 'uwufy',
- aliases: ['uwu', 'owofy', 'owo'],
- group: 'anime',
- memberName: 'uwufy',
- description: 'Uwufys anything you send.',
- args: [
- {
- key: 'userMsg',
- prompt: 'What would you like to uwufy?',
- type: 'string'
- }
- ],
- examples: [
- 'uwu!uwufy please uwufy this',
- 'uwu!uwu can u uwufy this',
- 'uwu!owofy this thx',
- 'uwu!owo nice now this'
- ],
- userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
- clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
- throttling: {
- usages: 5,
- duration: 30
- },
- });
- }
- run(msg: CommandoMessage, { userMsg }: any) {
- msg.reply(uwufy(userMsg) + ' ' + emoji.random())
- return msg.delete();
- }
-}; \ No newline at end of file
diff --git a/src/commands/anime/waifu.ts b/src/commands/anime/waifu.ts
deleted file mode 100644
index d72348f..0000000
--- a/src/commands/anime/waifu.ts
+++ /dev/null
@@ -1,35 +0,0 @@
-import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando';
-import request from 'node-superfetch';
-import { MessageEmbed } from 'discord.js';
-//@ts-ignore yes it does tf
-import { shorten } from '../../utils/Util.js'
-
-module.exports = class WaifuAnime extends Command {
- constructor(client: CommandoClient) {
- super(client, {
- name: 'waifu',
- aliases: ['thiswaifudoesnotexist', 'this-waifu-does-not-exist'],
- group: 'anime',
- memberName: 'waifu',
- description: 'Replies with a randomly generated waifu and a backstory. WARNING: don\'t get too attatched.',
- examples: [
-
- ],
- userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
- clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
- throttling: {
- usages: 5,
- duration: 30
- },
- });
- }
- async run(msg: CommandoMessage) {
- const num = Math.floor(Math.random() * 100000)
- const { text } = await request.get(`https://www.thiswaifudoesnotexist.net/snippet-${num}.txt`)
- let emb = new MessageEmbed()
- .setDescription(shorten(text, 1000))
- .setColor(0xFFCC4D)
- .setThumbnail(`https://www.thiswaifudoesnotexist.net/example-${num}.jpg`)
- return msg.reply(emb)
- }
-}; \ No newline at end of file