Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when i opening run.py #137

Open
NullPointerExeptionBruh opened this issue Apr 28, 2024 · 1 comment
Open

Error when i opening run.py #137

NullPointerExeptionBruh opened this issue Apr 28, 2024 · 1 comment

Comments

@NullPointerExeptionBruh

D:\Veli\DingoLingo-master\musicbot\linkutils.py:18: SyntaxWarning: invalid escape sequence '('
"http[s]?://(?:[a-zA-Z]|[0-9]|[$-@.&+]|[!*(),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+")
D:\Veli\DingoLingo-master\musicbot\linkutils.py:124: SyntaxWarning: invalid escape sequence '('
"http[s]?://(?:[a-zA-Z]|[0-9]|[$-
@.&+]|[!*(),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+")
Traceback (most recent call last):
File "D:\Veli\DingoLingo-master\run.py", line 84, in
bot.run(config.BOT_TOKEN, bot=True, reconnect=True)
File "C:\Program Files\Python312\Lib\site-packages\discord\client.py", line 766, in run
return future.result()
^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\site-packages\discord\client.py", line 745, in runner
await self.start(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Client.start() got an unexpected keyword argument 'bot'
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x0000021C18C60740>
Why i get this error?

@NullPointerExeptionBruh
Copy link
Author

i fixed it removing bot= true in run.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant