connexions: test

This commit is contained in:
Amazed 2020-09-26 18:01:59 +02:00
parent 4337af8d54
commit 0bc952d3b4

View File

@ -394,7 +394,7 @@ class WynncraftCog(commands.Cog):
continue
connexions = {k: v for k, v in sorted(connexions.items(), key=lambda item: item[1])}
await ctx.send("\n".join("**%s**: %s" % (key, td_format(val)) for (key, val) in connexions.items()))
await ctx.send("Dernières connexions:\n%s" % "\n".join("**%s**: %s" % (key, td_format(val)) for (key, val) in connexions.items()))
@commands.command()
@checks.admin_or_permissions(manage_guild=True)