mirror of
https://github.com/miaowware/qrm2.git
synced 2024-11-26 17:58:40 -05:00
Merge branch 'master' into cog-to-ext
This commit is contained in:
commit
725172f341
@ -17,7 +17,7 @@ import discord.ext.commands as commands
|
||||
|
||||
import info
|
||||
|
||||
from data import options as opt
|
||||
import data.options as opt
|
||||
import common as cmn
|
||||
|
||||
|
||||
|
@ -84,7 +84,7 @@ class HamCog(commands.Cog):
|
||||
if country.lower() not in callsign_info.options:
|
||||
embed = discord.Embed(title=f'{country} not found!',
|
||||
description=f'Valid countries: {", ".join(callsign_info.options.keys())}',
|
||||
colour=self.gs.colours.bad,
|
||||
colour=cmn.colours.bad,
|
||||
timestamp=datetime.utcnow())
|
||||
embed.set_footer(text=ctx.author.name,
|
||||
icon_url=str(ctx.author.avatar_url))
|
||||
@ -92,7 +92,7 @@ class HamCog(commands.Cog):
|
||||
return
|
||||
embed = discord.Embed(title=callsign_info.options[country.lower()][0],
|
||||
description=callsign_info.options[country.lower()][1],
|
||||
colour=self.gs.colours.good,
|
||||
colour=cmn.colours.good,
|
||||
timestamp=datetime.utcnow())
|
||||
embed.set_footer(text=ctx.author.name,
|
||||
icon_url=str(ctx.author.avatar_url))
|
||||
|
@ -17,7 +17,7 @@ import aiohttp
|
||||
from lxml import etree
|
||||
|
||||
import common as cmn
|
||||
import keys
|
||||
import data.keys as keys
|
||||
|
||||
|
||||
class QRZCog(commands.Cog):
|
||||
|
Loading…
Reference in New Issue
Block a user