parent
d8ba6b42d6
commit
a98bcfb4e9
1 changed files with 3 additions and 4 deletions
|
@ -164,10 +164,9 @@ 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:
|
||||||
# Don't kill cronjobs if something goes wrong.
|
# Don't kill cronjobs if something goes wrong.
|
||||||
await log_channel.send(
|
await log_channel.send(
|
||||||
|
|
Loading…
Reference in a new issue