forgor 💀

This commit is contained in:
Jonny_Bro (Nikita) 2023-04-12 14:09:44 +05:00
parent 1a3d9e2193
commit 68e6ba573d

View file

@ -131,7 +131,6 @@ class Help extends BaseCommand {
const command = interaction.options.getString("command"), const command = interaction.options.getString("command"),
commands = [...new Map(client.commands.map(v => [v.constructor.name, v])).values()], commands = [...new Map(client.commands.map(v => [v.constructor.name, v])).values()],
results = commands.filter(c => c.command.name.includes(command)); results = commands.filter(c => c.command.name.includes(command));
console.log(commands);
return interaction.respond( return interaction.respond(
results.slice(0, 25).map(command => ({ results.slice(0, 25).map(command => ({