jsk sync is broken
See original GitHub issueSummary
jsk sync is broken, gives an error
Reproduction steps
try to sync something
Expected results
to sync my bot tree
Actual results
gives an error
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.9/site-packages/discord/ext/commands/core.py", line 191, in wrapped
ret = await coro(*args, **kwargs)
File "/home/ubuntu/.local/lib/python3.9/site-packages/jishaku/features/management.py", line 203, in jsk_sync
synced = await self.bot.tree.sync()
File "/home/ubuntu/.local/lib/python3.9/site-packages/discord/app_commands/tree.py", line 923, in sync
data = await self._http.bulk_upsert_global_commands(self.client.application_id, payload=payload)
File "/home/ubuntu/.local/lib/python3.9/site-packages/discord/http.py", line 501, in request
raise HTTPException(response, data)
discord.errors.HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body
In 64.description: Must be between 1 and 100 in length.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.9/site-packages/jishaku/features/invocation.py", line 146, in jsk_debug
await alt_ctx.command.invoke(alt_ctx)
File "/home/ubuntu/.local/lib/python3.9/site-packages/discord/ext/commands/core.py", line 1548, in invoke
await ctx.invoked_subcommand.invoke(ctx)
File "/home/ubuntu/.local/lib/python3.9/site-packages/discord/ext/commands/core.py", line 939, in invoke
await injected(*ctx.args, **ctx.kwargs) # type: ignore
File "/home/ubuntu/.local/lib/python3.9/site-packages/discord/ext/commands/core.py", line 200, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body
In 64.description: Must be between 1 and 100 in length.
Checklist
- I have updated discord.py and jishaku to the latest available versions and have confirmed that this issue is still present
- I have searched the open issues for duplicates
- I have shown the entire traceback, if possible
- I have removed my token from display, if visible
System information
Name: discord.py Version: 2.0.0a4147+g1d97a353 Summary: A Python wrapper for the Discord API Home-page: https://github.com/Rapptz/discord.py Author: Rapptz Author-email: None License: MIT Location: /home/ubuntu/.local/lib/python3.9/site-packages Requires: aiohttp Required-by: wavelink, topggpy, discord-ext-menus, discord-argparse, dblpy, buttons [status] Return code 0
<html> <body>Name: jishaku
4 | Version: 2.4.0a403+g8bc4ed4.master 5 | Summary: A discord.py extension including useful tools for bot development and debugging. 6 | Home-page: https://github.com/Gorialis/jishaku 7 | Author: Devon (Gorialis) R 8 | Author-email: None 9 | License: MIT 10 | Location: /home/ubuntu/.local/lib/python3.9/site-packages 11 | Requires: typing-extensions, click, importlib-metadata, import-expression, braceexpand 12 | Required-by:
</body> </html>Issue Analytics
- State:
- Created a year ago
- Comments:9 (4 by maintainers)
reloading cogs dont sync commands automatically
I was unable to test as i was actively working on fixing the issue before I read this issue, but I will definitely let you know if the new diagnostic helps