Cant loop an .mp3 #6106
-
I'm trying to get my bot to play and loop an .mp3 indefinitely after it has joined the voice channel. @bot.command(pass_context=True)
When I run that code, it gives me this error: Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): I dont understand what I'm doing wrong. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
For code block usage, see https://docs.github.com/en/free-pro-team@latest/github/writing-on-github/creating-and-highlighting-code-blocks. |
Beta Was this translation helpful? Give feedback.
self
seems to be aCommand
instance. From your command decorator, this doesn't seem to be in a cog, so you can probably refer tobot
in the same way within the command. It's difficult to help you further without more context.For code block usage, see https://docs.github.com/en/free-pro-team@latest/github/writing-on-github/creating-and-highlighting-code-blocks.