mirror of
https://github.com/miaowware/qrm2.git
synced 2025-04-06 11:38:53 -04:00
oop
This commit is contained in:
parent
4368e0b603
commit
69d36fea7f
@ -48,11 +48,11 @@ class LookupCog(commands.Cog):
|
||||
while query:
|
||||
if query in self.cty.keys():
|
||||
data = self.cty[query]
|
||||
embed.add_field(name="Entity", value=data['entity'])\
|
||||
.add_field(name="CQ Zone", value=data['cq'])\
|
||||
.add_field(name="ITU Zone", value=data['itu'])\
|
||||
.add_field(name="Continent", value=data['continent'])\
|
||||
.add_field(name="Time Zone",
|
||||
embed.add_field(name="Entity", value=data['entity'])
|
||||
embed.add_field(name="CQ Zone", value=data['cq'])
|
||||
embed.add_field(name="ITU Zone", value=data['itu'])
|
||||
embed.add_field(name="Continent", value=data['continent'])
|
||||
embed.add_field(name="Time Zone",
|
||||
value=f'+{data["tz"]}' if data['tz'] > 0 else str(data['tz']))
|
||||
embed.title += query
|
||||
embed.colour = cmn.colours.good
|
||||
|
Loading…
Reference in New Issue
Block a user