From 5186dd129c3cefcd254ccae30982cc57f128d1a0 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 20 Mar 2024 18:51:21 -0400 Subject: [PATCH] Remove dumb ai commands --- commands/random-img/ai-art.js | 27 --------------------------- commands/random-img/ai-cat.js | 27 --------------------------- commands/random-img/ai-fursona.js | 28 ---------------------------- commands/random-img/ai-horse.js | 27 --------------------------- commands/random-img/ai-person.js | 27 --------------------------- commands/random-img/ai-vase.js | 29 ----------------------------- commands/random-img/ai-waifu.js | 28 ---------------------------- 7 files changed, 193 deletions(-) delete mode 100644 commands/random-img/ai-art.js delete mode 100644 commands/random-img/ai-cat.js delete mode 100644 commands/random-img/ai-fursona.js delete mode 100644 commands/random-img/ai-horse.js delete mode 100644 commands/random-img/ai-person.js delete mode 100644 commands/random-img/ai-vase.js delete mode 100644 commands/random-img/ai-waifu.js diff --git a/commands/random-img/ai-art.js b/commands/random-img/ai-art.js deleted file mode 100644 index be3af388..00000000 --- a/commands/random-img/ai-art.js +++ /dev/null @@ -1,27 +0,0 @@ -const Command = require('../../framework/Command'); -const request = require('node-superfetch'); - -module.exports = class AiArtworkCommand extends Command { - constructor(client) { - super(client, { - name: 'ai-artwork', - aliases: ['this-artwork-does-not-exist', 'art', 'artwork', 'ai-art', 'this-art-does-not-exist'], - group: 'random-img', - memberName: 'ai-artwork', - description: 'Responds with randomly generated artwork.', - clientPermissions: ['ATTACH_FILES'], - credit: [ - { - name: 'This Artwork Does Not Exist', - url: 'https://thisartworkdoesnotexist.com/', - reason: 'API' - } - ] - }); - } - - async run(msg) { - const { body } = await request.get('https://thisartworkdoesnotexist.com/'); - return msg.say('AI-Generated Artwork', { files: [{ attachment: body, name: 'ai-artwork.jpg' }] }); - } -}; diff --git a/commands/random-img/ai-cat.js b/commands/random-img/ai-cat.js deleted file mode 100644 index 863fde9a..00000000 --- a/commands/random-img/ai-cat.js +++ /dev/null @@ -1,27 +0,0 @@ -const Command = require('../../framework/Command'); -const request = require('node-superfetch'); - -module.exports = class AiCatCommand extends Command { - constructor(client) { - super(client, { - name: 'ai-cat', - aliases: ['this-cat-does-not-exist', 'ai-neko', 'ai-kitty', 'ai-meow'], - group: 'random-img', - memberName: 'ai-cat', - description: 'Responds with a randomly generated cat.', - clientPermissions: ['ATTACH_FILES'], - credit: [ - { - name: 'This Cat Does Not Exist', - url: 'https://thiscatdoesnotexist.com/', - reason: 'API' - } - ] - }); - } - - async run(msg) { - const { body } = await request.get('https://thiscatdoesnotexist.com/'); - return msg.say('AI-Generated Cat', { files: [{ attachment: body, name: 'ai-cat.jpg' }] }); - } -}; diff --git a/commands/random-img/ai-fursona.js b/commands/random-img/ai-fursona.js deleted file mode 100644 index b86dc7bb..00000000 --- a/commands/random-img/ai-fursona.js +++ /dev/null @@ -1,28 +0,0 @@ -const Command = require('../../framework/Command'); - -module.exports = class AiFursonaCommand extends Command { - constructor(client) { - super(client, { - name: 'ai-fursona', - aliases: ['this-fursona-does-not-exist', 'fursona'], - group: 'random-img', - memberName: 'ai-fursona', - description: 'Responds with a randomly generated fursona.', - clientPermissions: ['ATTACH_FILES'], - credit: [ - { - name: 'This Fursona Does Not Exist', - url: 'http://thisfursonadoesnotexist.com/', - reason: 'API' - } - ] - }); - } - - run(msg) { - const num = Math.floor(Math.random() * 100000); - return msg.say(`AI-Generated Fursona #${num}`, { - files: [`http://thisfursonadoesnotexist.com/v2/jpgs/seed${num.toString().padStart(5, '0')}.jpg`] - }); - } -}; diff --git a/commands/random-img/ai-horse.js b/commands/random-img/ai-horse.js deleted file mode 100644 index 63c0399d..00000000 --- a/commands/random-img/ai-horse.js +++ /dev/null @@ -1,27 +0,0 @@ -const Command = require('../../framework/Command'); -const request = require('node-superfetch'); - -module.exports = class AiHorseCommand extends Command { - constructor(client) { - super(client, { - name: 'ai-horse', - aliases: ['this-horse-does-not-exist', 'horse'], - group: 'random-img', - memberName: 'ai-horse', - description: 'Responds with a randomly generated horse.', - clientPermissions: ['ATTACH_FILES'], - credit: [ - { - name: 'This Horse Does Not Exist', - url: 'https://thishorsedoesnotexist.com/', - reason: 'API' - } - ] - }); - } - - async run(msg) { - const { body } = await request.get('https://thishorsedoesnotexist.com/'); - return msg.say('AI-Generated Horse', { files: [{ attachment: body, name: 'ai-horse.jpg' }] }); - } -}; diff --git a/commands/random-img/ai-person.js b/commands/random-img/ai-person.js deleted file mode 100644 index bd9ef323..00000000 --- a/commands/random-img/ai-person.js +++ /dev/null @@ -1,27 +0,0 @@ -const Command = require('../../framework/Command'); -const request = require('node-superfetch'); - -module.exports = class AiPersonCommand extends Command { - constructor(client) { - super(client, { - name: 'ai-person', - aliases: ['this-person-does-not-exist', 'person'], - group: 'random-img', - memberName: 'ai-person', - description: 'Responds with a randomly generated person.', - clientPermissions: ['ATTACH_FILES'], - credit: [ - { - name: 'This Person Does Not Exist', - url: 'https://thispersondoesnotexist.com/', - reason: 'API' - } - ] - }); - } - - async run(msg) { - const { body } = await request.get('https://thispersondoesnotexist.com/image'); - return msg.say('AI-Generated Person', { files: [{ attachment: body, name: 'ai-person.jpg' }] }); - } -}; diff --git a/commands/random-img/ai-vase.js b/commands/random-img/ai-vase.js deleted file mode 100644 index 838a6d66..00000000 --- a/commands/random-img/ai-vase.js +++ /dev/null @@ -1,29 +0,0 @@ -const Command = require('../../framework/Command'); - -module.exports = class AiVaseCommand extends Command { - constructor(client) { - super(client, { - name: 'ai-vase', - aliases: ['this-vase-does-not-exist', 'vessel', 'this-vessel-does-not-exist', 'vase'], - group: 'random-img', - memberName: 'ai-vase', - description: 'Responds with a randomly generated vase.', - clientPermissions: ['ATTACH_FILES'], - credit: [ - { - name: 'This Vessel Does Not Exist', - url: 'https://thisvesseldoesnotexist.com/#/', - reason: 'API' - } - ] - }); - } - - run(msg) { - const num = Math.floor(Math.random() * 20000) + 1; - const padded = num.toString().padStart(7, '0'); - return msg.say(`AI-Generated Vase #${num}`, { - files: [`http://thisvesseldoesnotexist.s3-website-us-west-2.amazonaws.com/public/v2/fakes/${padded}.jpg`] - }); - } -}; diff --git a/commands/random-img/ai-waifu.js b/commands/random-img/ai-waifu.js deleted file mode 100644 index aaaaf5d4..00000000 --- a/commands/random-img/ai-waifu.js +++ /dev/null @@ -1,28 +0,0 @@ -const Command = require('../../framework/Command'); - -module.exports = class AiWaifuCommand extends Command { - constructor(client) { - super(client, { - name: 'ai-waifu', - aliases: ['this-waifu-does-not-exist', 'waifu'], - group: 'random-img', - memberName: 'ai-waifu', - description: 'Responds with a randomly generated waifu.', - clientPermissions: ['ATTACH_FILES'], - credit: [ - { - name: 'This Waifu Does Not Exist', - url: 'https://www.thiswaifudoesnotexist.net/', - reason: 'API' - } - ] - }); - } - - run(msg) { - const num = Math.floor(Math.random() * 100000); - return msg.say(`AI-Generated Waifu #${num}`, { - files: [`https://www.thiswaifudoesnotexist.net/example-${num}.jpg`] - }); - } -};