Update task.py

pull/1/head
Matt Compton 3 years ago
parent 6f8bdb799c
commit 0e521fa71c

@ -66,8 +66,8 @@ class Packages(commands.Cog):
print("-"*10) print("-"*10)
msg = "`" + p.name + "` is now `" + p.ver + "`" msg = "`" + p.name + "` is now `" + p.ver + "`"
await self.bot.get_channel(CHAN).send(embed=infmsg("New package",msg)) await self.bot.get_channel(CHAN).send(embed=infmsg("New package",msg))
else: #else:
await self.bot.get_channel(CHAN).send(embed=infmsg("Notice","No new packages","Lucky for us :)")) # await self.bot.get_channel(CHAN).send(embed=infmsg("Notice","No new packages","Lucky for us :)"))
@check.before_loop @check.before_loop
async def before_check(self): async def before_check(self):

Loading…
Cancel
Save