1
0
Fork 0
mirror of synced 2024-04-29 10:12:29 +12:00

Actually start tasks, oops

This commit is contained in:
Dan Hess 2020-12-03 14:46:46 -06:00
parent d47718ea3b
commit 7ea58f4ccc
2 changed files with 2 additions and 1 deletions

View file

@ -60,6 +60,7 @@ class Birthday(commands.Cog):
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot
self.notify_birthdays.start()
async def get_birthdays_for_server(self, server, today=False): async def get_birthdays_for_server(self, server, today=False):
query = """ query = """

View file

@ -1,6 +1,5 @@
import asyncio import asyncio
import discord import discord
import traceback
import utils import utils
from discord.ext import commands, tasks from discord.ext import commands, tasks
@ -30,6 +29,7 @@ class Picarto(commands.Cog):
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot
self.channel_info = {} self.channel_info = {}
self.check_channels.start()
# noinspection PyAttributeOutsideInit # noinspection PyAttributeOutsideInit
async def get_online_users(self): async def get_online_users(self):