Remove dumb ai commands

This commit is contained in:
Dragon Fire
2024-03-20 18:51:21 -04:00
parent 5decf5bdf0
commit 5186dd129c
7 changed files with 0 additions and 193 deletions
-27
View File
@@ -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' }] });
}
};
-27
View File
@@ -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' }] });
}
};
-28
View File
@@ -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`]
});
}
};
-27
View File
@@ -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' }] });
}
};
-27
View File
@@ -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' }] });
}
};
-29
View File
@@ -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`]
});
}
};
-28
View File
@@ -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`]
});
}
};