Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Voice channel join hangs at self.voiceclient = await command.author.voice.channel.connect() #24

Open
xhausted110 opened this issue Apr 23, 2024 · 0 comments

Comments

@xhausted110
Copy link

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'
#

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant