diff --git a/tbot/twitch_bot/functions/followage.py b/tbot/twitch_bot/functions/followage.py index 6a2766e..ca9f532 100644 --- a/tbot/twitch_bot/functions/followage.py +++ b/tbot/twitch_bot/functions/followage.py @@ -13,7 +13,7 @@ async def followage(bot, user_id, display_name, channel_id, channel, args, **kwa if not uid: uid = user_id user = display_name - data = await utils.twitch_channel_token_request(bot.ahttp, channel_id, + data = await utils.twitch_channel_token_request(bot, channel_id, 'https://api.twitch.tv/helix/channels/followers', params={ 'user_id': uid, diff --git a/tbot/twitch_bot/functions/title_game_views_followers.py b/tbot/twitch_bot/functions/title_game_views_followers.py index 292d173..a26eb59 100644 --- a/tbot/twitch_bot/functions/title_game_views_followers.py +++ b/tbot/twitch_bot/functions/title_game_views_followers.py @@ -15,7 +15,7 @@ async def get_title_game(bot, channel_id, **kwargs): @fills_vars('followers') async def get_followers(bot, channel_id, **kwargs): - data = await utils.twitch_channel_token_request(bot.ahttp, channel_id, + data = await utils.twitch_channel_token_request(bot, channel_id, 'https://api.twitch.tv/helix/channels/followers', params={ 'first': 1,