mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-22 05:04:58 +05:00
forgor 💀
This commit is contained in:
parent
1a3d9e2193
commit
68e6ba573d
1 changed files with 0 additions and 1 deletions
|
@ -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 => ({
|
||||||
|
|
Loading…
Reference in a new issue