Zero6992 / chatGPT-discord-bot

Integrate ChatGPT into your own discord bot
GNU General Public License v2.0
2.6k stars 699 forks source link

I'm having this problem that says I exceeded the daily command limit, but it's been a few days... does anyone know what it would be? #415

Closed LMrAllan closed 9 months ago

LMrAllan commented 1 year ago

[2023-05-31 07:37:44] [INFO ] discord.client: logging in using static token [2023-05-31 07:37:46] [INFO ] discord.gateway: Shard ID None has connected to Gateway (Session ID: ...). 2023-05-31 07:37:48 INFO  src.aclient -> Send system prompt with size 11 2023-05-31 07:37:49 INFO  src.aclient -> System prompt response:General Kenobi! [2023-05-31 07:37:49] [ERROR ] discord.client: Ignoring exception in on_ready Traceback (most recent call last): File "C:\Users\alan1\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\client.py", line 441, in _run_event await coro(*args, **kwargs) File "c:\Users\alan1\OneDrive\�rea de Trabalho\chatGPT-discord-bot-main\src\bot.py", line 16, in on_ready await client.tree.sync() File "C:\Users\alan1\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\app_commands\tree.py", line 1067, in sync data = await self._http.bulk_upsert_global_commands(self.client.application_id, payload=payload) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\alan1\AppData\Local\Programs\Python\Python311\Lib\site-packages\discord\http.py", line 744, in request raise HTTPException(response, data) discord.errors.HTTPException: 400 Bad Request (error code: 30034): Max number of daily application command creates has been reached (200)

Vovchanok commented 1 year ago

The same problem

Vovchanok commented 1 year ago

Also, Is it possible to remove any limitations for prompting?

TaijiMonster commented 1 year ago

Same issue here....

LMrAllan commented 1 year ago

apparently it was really just a discord restriction, because 1 day passed and it worked

TaijiMonster commented 1 year ago

its working now

LMrAllan commented 1 year ago

I didn't know that the API was paid after a certain amount of use ;-