bot left the voice chat when is playing song.
PATATAGAME554 opened this issue · 9 comments
the bot left the voice chat when is playing song, i don't know why do this, some help?
Is it always happening at the end of the songs?
no, at 30 seconds after playing
Then add " inactivity_timeout = None" to MusicManager
It should look like this :
MusicManager = discordSuperUtils.MusicManager(add it here)
Then add " inactivity_timeout = None" to MusicManager
It should look like this : MusicManager = discordSuperUtils.MusicManager(add it here)
thanks!
Then add " inactivity_timeout = None" to MusicManager
It should look like this : MusicManager = discordSuperUtils.MusicManager(add it here)
don't work, error: missing 1 required positional argument: "bot"
Then add " inactivity_timeout = None" to MusicManager
It should look like this : MusicManager = discordSuperUtils.MusicManager(add it here)don't work, error: missing 1 required positional argument: "bot"
Show me your code
Then add " inactivity_timeout = None" to MusicManager
It should look like this : MusicManager = discordSuperUtils.MusicManager(add it here)don't work, error: missing 1 required positional argument: "bot"
Show me your code
client = commands.Bot(command_prefix = '!')
MusicManager = MusicManager(client, client_id=client_id, client_secret=client_secret, spotify_support=True)
slash = SlashCommand(client, sync_commands=True)
intents = discord.Intents.default()
intents.members = True
MusicManager = discordSuperUtils.MusicManager(inactivity_timeout = None)
You have two MusicManagers, combine them into one
client = commands.Bot(command_prefix = '!')
MusicManager = MusicManager(client, client_id=client_id, client_secret=client_secret, spotify_support=True, inactivity_timeout = None)
slash = SlashCommand(client, sync_commands=True)
intents = discord.Intents.default()
intents.members = True
You have two MusicManagers, combine them into one
client = commands.Bot(command_prefix = '!') MusicManager = MusicManager(client, client_id=client_id, client_secret=client_secret, spotify_support=True, inactivity_timeout = None) slash = SlashCommand(client, sync_commands=True) intents = discord.Intents.default() intents.members = True
okkk thanks