MrPickles / Cloudy-the-Discord-Bot

Cloudy is a friendly Discord bot, designed to help out the hacker. He can do various things, including realistic chat and code generation.
https://www.loom.com/share/25d612c2625c4321a899a14e30b868d9
18 stars 5 forks source link

WARNING:discord.client:PyNaCl is not installed, voice will NOT be supported #1

Open galacoder opened 1 year ago

galacoder commented 1 year ago

I followed all of your steps but when I tried to run and I got this error. The bot is not working. Please advise!

`Welcome! You are running Cloudy, the Discord bot! ☁️ 🤖 WARNING:discord.client:PyNaCl is not installed, voice will NOT be supported INFO:discord.client:logging in using static token INFO:discord.client:Cleaning up tasks. INFO:discord.client:Cleaning up after 1 tasks. INFO:discord.client:All tasks finished cancelling. INFO:discord.client:Closing the event loop. Traceback (most recent call last): File "main.py", line 57, in main() File "main.py", line 53, in main bot.run(token) File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 723, in run return future.result() File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 702, in runner await self.start(*args, *kwargs) File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 665, in start await self.login(args, bot=bot) File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/client.py", line 511, in login await self.http.static_login(token.strip(), bot=bot) File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/http.py", line 300, in static_login data = await self.request(Route('GET', '/users/@me')) File "/opt/virtualenvs/python3/lib/python3.8/site-packages/discord/http.py", line 216, in request raise HTTPException(r, data) discord.errors.HTTPException: 429 Too Many Requests (error code: 0): <!DOCTYPE html>

Access denied | discord.com used Cloudflare to restrict access

Error 1015

Ray ID: 78c2d0d19bbd27aa • 2023-01-19 21:55:37 UTC

You are being rate limited

What happened?

The owner of this website (discord.com) has banned you temporarily from accessing this website.

 `

MrPickles commented 1 year ago

Would you mind formatting the original post? It's quite difficult to read.

It seems like you're being rate-limited by Discord, but it's hard to tell without context on your specific setup.

Toysrfun commented 1 year ago

That's definitely discord putting them in check. Too many attempts.

They need to install the PyNaCl library in order to use the voice features.

Run:

python3 -m pip install -U discord.py[voice]

to install it.