mirror of
https://github.com/stijndcl/didier.git
synced 2026-05-01 03:15:48 +02:00
typo
This commit is contained in:
parent
ad68201456
commit
fee9e0236b
1 changed files with 2 additions and 1 deletions
|
|
@ -104,7 +104,8 @@ class Stats(commands.Cog):
|
||||||
description = ""
|
description = ""
|
||||||
for c in sorted(res, key=lambda x: int(x[1]), reverse=True):
|
for c in sorted(res, key=lambda x: int(x[1]), reverse=True):
|
||||||
if not any(tc.id == int(c[0]) for tc in ctx.guild.text_channels):
|
if not any(tc.id == int(c[0]) for tc in ctx.guild.text_channels):
|
||||||
return
|
continue
|
||||||
|
|
||||||
channel_instance = self.client.get_channel(int(c[0]))
|
channel_instance = self.client.get_channel(int(c[0]))
|
||||||
|
|
||||||
description += "{}: {:,}\n".format(channel_instance.mention, round(float(c[1]), 2))
|
description += "{}: {:,}\n".format(channel_instance.mention, round(float(c[1]), 2))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue