Fix robocronp fail when verificaiton isn't used

Closes #73
This commit is contained in:
Ave 2020-06-13 13:33:00 +03:00
parent d8ba6b42d6
commit a98bcfb4e9
No known key found for this signature in database
GPG key ID: 398DD7BD03276F6D

View file

@ -164,8 +164,7 @@ class Robocronp(Cog):
# and after that every day goes here # and after that every day goes here
try: try:
# Reset verification and algorithm # Reset verification and algorithm
# If you're not using verification cog if "verification" in config.initial_cogs:
# remove or comment thsee lines
verif_channel = self.bot.get_channel(config.welcome_channel) verif_channel = self.bot.get_channel(config.welcome_channel)
await self.bot.do_resetalgo(verif_channel, "daily robocronp") await self.bot.do_resetalgo(verif_channel, "daily robocronp")
except: except: