From bb511abc03bb66848947e37a999502b813c77269 Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Thu, 23 Jul 2020 23:24:17 -0700 Subject: goodbye old uwufier :cry: --- src/commands/anime/uwufy.ts | 39 --------------------------------------- src/commands/anime/waifu.ts | 35 ----------------------------------- 2 files changed, 74 deletions(-) delete mode 100644 src/commands/anime/uwufy.ts delete mode 100644 src/commands/anime/waifu.ts (limited to 'src/commands/anime') 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 -- cgit v1.2.3