mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-30 07:21:16 -05:00
Corona: bold --top10 reply
This commit is contained in:
parent
a951fad5d0
commit
82084d7048
@ -590,13 +590,13 @@ class Corona(callbacks.Plugin):
|
|||||||
continue
|
continue
|
||||||
if n > 9:
|
if n > 9:
|
||||||
break
|
break
|
||||||
reply += " \x02{0}: \x1F{1}\x1F (\x0307{2}\x03/\x0304{3}\x03),".format(
|
reply += " {0}: \x1F{1}\x1F (\x0307{2}\x03/\x0304{3}\x03),".format(
|
||||||
self.data[country]['rank'],
|
self.data[country]['rank'],
|
||||||
self.data[country]['name'],
|
self.data[country]['name'],
|
||||||
'{:,}'.format(self.data[country]['total_cases']),
|
'{:,}'.format(self.data[country]['total_cases']),
|
||||||
self.data[country]['total_deaths'])
|
self.data[country]['total_deaths'])
|
||||||
n += 1
|
n += 1
|
||||||
reply = reply.strip().strip(',')
|
reply = reply.strip().strip(',')
|
||||||
irc.reply(reply)
|
irc.reply("\x02{0}".format(reply))
|
||||||
|
|
||||||
Class = Corona
|
Class = Corona
|
||||||
|
Loading…
x
Reference in New Issue
Block a user