Skip to content

Commit

Permalink
Fixed using the wrong argument
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaserlang committed Oct 4, 2023
1 parent d2873c2 commit cc38861
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tbot/twitch_bot/functions/followage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion tbot/twitch_bot/functions/title_game_views_followers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit cc38861

Please sign in to comment.