From 7ea58f4ccc6a913afbd85b5d35fea8886eac71cb Mon Sep 17 00:00:00 2001 From: Dan Hess Date: Thu, 3 Dec 2020 14:46:46 -0600 Subject: [PATCH] Actually start tasks, oops --- cogs/birthday.py | 1 + cogs/picarto.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cogs/birthday.py b/cogs/birthday.py index ce031de..4d02164 100644 --- a/cogs/birthday.py +++ b/cogs/birthday.py @@ -60,6 +60,7 @@ class Birthday(commands.Cog): def __init__(self, bot): self.bot = bot + self.notify_birthdays.start() async def get_birthdays_for_server(self, server, today=False): query = """ diff --git a/cogs/picarto.py b/cogs/picarto.py index 514a0e9..a2c293d 100644 --- a/cogs/picarto.py +++ b/cogs/picarto.py @@ -1,6 +1,5 @@ import asyncio import discord -import traceback import utils from discord.ext import commands, tasks @@ -30,6 +29,7 @@ class Picarto(commands.Cog): def __init__(self, bot): self.bot = bot self.channel_info = {} + self.check_channels.start() # noinspection PyAttributeOutsideInit async def get_online_users(self):