Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

VoiceClient Method Error #2

@Moritydeinyer

Description

@Moritydeinyer

the Voice Client doesn't have the start_recording() method.

Traceback (most recent call last):
File "C:\Users\Gaming\anaconda3\lib\site-packages\discord\ext\commands\core.py", line 235, in wrapped
ret = await coro(*args, **kwargs)
File "C:\Users\Gaming\OneDrive\Desktop\Desktop\eks\test.py", line 27, in listen
ctx.voice_client.start_recording(discord.WaveSink(), callback, ctx)
AttributeError: 'VoiceClient' object has no attribute 'start_recording'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Gaming\anaconda3\lib\site-packages\discord\ext\commands\bot.py", line 1350, in invoke
await ctx.command.invoke(ctx)
File "C:\Users\Gaming\anaconda3\lib\site-packages\discord\ext\commands\core.py", line 1029, in invoke
await injected(*ctx.args, **ctx.kwargs) # type: ignore
File "C:\Users\Gaming\anaconda3\lib\site-packages\discord\ext\commands\core.py", line 244, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'VoiceClient' object has no attribute 'start_recording'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions