forked from cswimr/SeaCogs
fix(updatechecker): trying to figure out why I'm getting an error
This commit is contained in:
parent
50180c6301
commit
9a7b627854
1 changed files with 3 additions and 2 deletions
|
@ -80,6 +80,7 @@ class UpdateChecker(commands.Cog):
|
|||
data = await self.conf.all()
|
||||
repos = data["repos"]
|
||||
channel = data["gochannel"]
|
||||
auto = data["auto"]
|
||||
use_embed = data["embed"]
|
||||
whitelist = data["whitelist"]
|
||||
blacklist = data["blacklist"]
|
||||
|
@ -308,7 +309,7 @@ class UpdateChecker(commands.Cog):
|
|||
channel = await self.conf.gochannel()
|
||||
embed = await self.conf.embed()
|
||||
if embed:
|
||||
e = discord.Embed(title="Update Checker settings", color=0x00FF00)
|
||||
e = discord.Embed(title="Update Checker Settings", color=0x00FF00)
|
||||
e.add_field(name="Automatic Cog Updates", value=str(auto))
|
||||
if channel == 0:
|
||||
channel = "Direct Messages"
|
||||
|
@ -443,7 +444,7 @@ class UpdateChecker(commands.Cog):
|
|||
except asyncio.exceptions.InvalidStateError:
|
||||
message += " No error has been encountered."
|
||||
else:
|
||||
message += f" An error has been encountered. Please run `{ctx.prefix}cogupdater task error` and report it to SeaswimmerTheFsh (.seasw) on the help server."
|
||||
message += f" An error has been encountered. Please run `{ctx.prefix}cogupdater task error` and report it to SeaswimmerTheFsh (seasw.) on the help server."
|
||||
await ctx.send(message)
|
||||
|
||||
@_group_update_task.command()
|
||||
|
|
Loading…
Reference in a new issue