Actually start tasks, oops
This commit is contained in:
parent
d47718ea3b
commit
7ea58f4ccc
|
@ -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 = """
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue