tisboyo / Twitch_Bot

4 stars 2 forks source link

Wig error #122

Closed tisboyo closed 3 years ago

tisboyo commented 3 years ago
twitchbot_bot           | tisboyo(baldengineer): !pollinfo
twitchbot_bot           | addohms(baldengineer): POLL INFO #2 ~ 🤖 What wig should @baldengineer wear today? ~ 1) Big Red 2) Surfer Engineer 3) Desu Desu Baldee ~ seconds left: 20.6
twitchbot_bot           | addohms(baldengineer): 🤖 Chat has spoken, @baldengineer should wear Big Red
twitchbot_bot           | 
twitchbot_bot           | error has occurred while triggering a event on a mod, details:
twitchbot_bot           | mod: channelpoints
twitchbot_bot           | event: Event.on_pubsub_received
twitchbot_bot           | error: <class 'TypeError'>
twitchbot_bot           | reason: wear_a_wig() missing 1 required positional argument: 'channel'
twitchbot_bot           | stack trace:
twitchbot_bot           | Traceback (most recent call last):
twitchbot_bot           |   File "/usr/local/lib/python3.8/site-packages/twitchbot/modloader.py", line 302, in trigger_mod_event
twitchbot_bot           |     output.append(await getattr(mod, event.value, _missing_function)(*args))
twitchbot_bot           |   File "/workspace/bot/mods/channel_points.py", line 47, in on_pubsub_received
twitchbot_bot           |     await self.custom_redemptions[reward]()
twitchbot_bot           | TypeError: wear_a_wig() missing 1 required positional argument: 'channel'
twitchbot_bot           | addohms(baldengineer): 🤖 What wig should @baldengineer wear today? ~ [3 votes] Big Red ~ [1 votes] Surfer Engineer ~ [0 votes] Desu Desu Baldee

Error after wig poll