From 8e99c939dca1fb29a85d69d35c48e1d1c91c3fff Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Sun, 10 Jul 2016 12:37:34 -0500 Subject: [PATCH] I don't use client, I use bot. Changed client to bot --- cogs/twitch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/twitch.py b/cogs/twitch.py index 9fd10c9..17e803f 100644 --- a/cogs/twitch.py +++ b/cogs/twitch.py @@ -14,7 +14,7 @@ def channelOnline(channel: str): return data['stream'] is not None async def checkChannels(bot): - await client.wait_until_ready() + await bot.wait_until_ready() cursor = config.getCursor() cursor.execute('use {}'.format(config.db_default)) cursor.execute('select * from twitch')