You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.
After issuing a !join command, the bot hangs at self.voiceclient = await command.author.voice.channel.connect().
It successfully joins the voice channel, however, voice.channel.connect() doesn't return anything, thus causing the bot to hang at that point.
This appears to be a known issue with older versions of discord.py, as shown here: Rapptz/discord.py#2372
Updating to the latest version of the Discord.py fork causes other issues:
# docker run a33e5e666956dcbe1c508f97e31a954bc9651b60e1eab85467bc72d045adedb0
Traceback (most recent call last):
File "run.py", line 7, in
from discordphone.DiscordPhone import DiscordPhone
File "/discordphone/DiscordPhone.py", line 7, in
import discord
File "/discord/init.py", line 21, in
from typing import NamedTuple, Literal
ImportError: cannot import name 'Literal'
#
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
After issuing a !join command, the bot hangs at self.voiceclient = await command.author.voice.channel.connect().
It successfully joins the voice channel, however, voice.channel.connect() doesn't return anything, thus causing the bot to hang at that point.
This appears to be a known issue with older versions of discord.py, as shown here: Rapptz/discord.py#2372
Updating to the latest version of the Discord.py fork causes other issues:
# docker run a33e5e666956dcbe1c508f97e31a954bc9651b60e1eab85467bc72d045adedb0
Traceback (most recent call last):
File "run.py", line 7, in
from discordphone.DiscordPhone import DiscordPhone
File "/discordphone/DiscordPhone.py", line 7, in
import discord
File "/discord/init.py", line 21, in
from typing import NamedTuple, Literal
ImportError: cannot import name 'Literal'
#
The text was updated successfully, but these errors were encountered: