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'