mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-25 14:44:58 +05:00
Ещё ржака
This commit is contained in:
parent
dee8d38b42
commit
e04b878470
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class Play extends BaseCommand {
|
||||||
|
|
||||||
return interaction.respond(
|
return interaction.respond(
|
||||||
results.tracks.slice(0, 10).map(track => ({
|
results.tracks.slice(0, 10).map(track => ({
|
||||||
name: `${track.author} - ${track.title}`.slice(0, 90) + "...",
|
name: (`${track.author} - ${track.title}`.length >= 100 & `${track.author} - ${track.title}`.slice(0, 90) + "...") || `${track.author} - ${track.title}`,
|
||||||
value: track.url,
|
value: track.url,
|
||||||
}),
|
}),
|
||||||
));
|
));
|
||||||
|
|
Loading…
Reference in a new issue