best display for EQ list

This commit is contained in:
Mylloon 2021-08-16 11:07:13 +02:00
parent 90f7ed9da3
commit 885e7364ac

View file

@ -704,8 +704,7 @@ class Music(commands.Cog, wavelink.WavelinkMixin):
eq = eqs.get(equalizer.lower(), None)
if not eq:
joined = "\n".join(eqs.keys())
return await ctx.send(f"EQ non valide fourni. EQs valides :\n\n{joined}")
return await ctx.send(f"EQ non valide fourni. EQs valides :\n{', '.join(eqs.keys())}")
await ctx.send(f"Changement de l'égaliseur en {equalizer}.", delete_after=15)
await player.set_eq(eq)