Twichio Chat bot was unable to be joined #403
Unanswered
1987Krang1987
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, in this moment I have a similar problem:
The channel ["Channel Name"] was unable to be joined. Check the channel is valid.
Task exception was never retrieved
future: <Task finished name='Task-135' coro=<WSConnection._join_future_handle() done, defined at E:\Lib\site-packages\twitchio\websocket.py:325> exception=KeyError('["Channel Name"]')>
Traceback (most recent call last):
File "E:\Lib\asyncio\tasks.py", line 490, in wait_for
return fut.result()
^^^^^^^^^^^^
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
I created a bot for Twitch that starts perfectly and can run for an hour with all its commands. The problem is that after a while, it loses connection to my channel. I don't know the reason or how to solve it, and I don't have any connection issues either.
My Code:
client_id = 'client_id '
canal_id = "canal_id "
token = 'token'
Yuumia = commands.Bot(
token = token,
client_id = client_id,
nikc = ['Bot Name'],
prefix = '!',
initial_channels = [canal_id]
)
Thank you for any help.
Beta Was this translation helpful? Give feedback.
All reactions