Remove 15 commands, patreon and bot list stuff

This commit is contained in:
Dragon Fire
2024-03-20 21:02:24 -04:00
parent 2c180f39b7
commit b58a112fc7
48 changed files with 5 additions and 1963 deletions
-29
View File
@@ -1,29 +0,0 @@
const Command = require('../../framework/Command');
const Docs = require('discord.js-docs');
module.exports = class DocstCommand extends Command {
constructor(client) {
super(client, {
name: 'docs',
aliases: ['discord-js-docs', 'discord-js', 'djs', 'djs-docs'],
group: 'code',
memberName: 'docs',
description: 'Searches the discord.js docs for your query.',
clientPermissions: ['EMBED_LINKS'],
args: [
{
key: 'query',
prompt: 'What do you want to search the docs for?',
type: 'string'
}
]
});
}
async run(msg, { query }) {
const doc = await Docs.fetch('stable');
const embed = doc.resolveEmbed(query);
if (!embed) return msg.say('Could not find any results.');
return msg.embed(embed);
}
};