Ignoring exception in command play:
Traceback (most recent call last):
File "/home/runner/OddOffshoreArtificialintelligence/.pythonlibs/lib/python3.11/site-packages/disnake/ext/commands/core.py", line 173, in wrapped
ret = await coro(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/OddOffshoreArtificialintelligence/main.py", line 38, in play
voice_channel.play(disnake.FFmpegPCMAudio(file_path))
^^^^^^^^^^^^^^^^^^
AttributeError: 'VoiceChannel' object has no attribute 'play'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/runner/OddOffshoreArtificialintelligence/.pythonlibs/lib/python3.11/site-packages/disnake/ext/commands/bot_base.py", line 581, in invoke
await ctx.command.invoke(ctx)
File "/home/runner/OddOffshoreArtificialintelligence/.pythonlibs/lib/python3.11/site-packages/disnake/ext/commands/core.py", line 912, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "/home/runner/OddOffshoreArtificialintelligence/.pythonlibs/lib/python3.11/site-packages/disnake/ext/commands/core.py", line 182, in wrapped
raise CommandInvokeError(exc) from exc
disnake.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'VoiceChannel' object has no attribute 'play'