stable-diffusion-discord-bot icon indicating copy to clipboard operation
stable-diffusion-discord-bot copied to clipboard

What is the trick to making '/imagine_settings' work?

Open whasamatau opened this issue 8 months ago • 1 comments

The bot is working great otherwise for me, /imagine works and the buttons to interact with the generated images all work, but I get a 'Application did not respond' error when I try to use the /imagine_settings command, and the below coreseponding error is displayed in the terminal output.

Any feedback or suggestions are welcome, but what little I have been able to find of 'HTTP 400 Bad Request' and "code": 50035, "errors" seem to indicate a piece of code being sent to discord api improperly or in such a way that it does not know how to respond such as a capital instead of lowercase, or an improperly formed attribute name.

Of course it is also possible I have not entered a URL correctly somewhere or a permission improperly set.

Error in output:

2024/06/06 22:30:55 Error responding to interaction: HTTP 400 Bad Request, {"message": "Invalid Form Body", "code": 50035, "errors": {"data": {"components": {"0": {"components": {"0": {"options": {"0": {"emoji": {"name": {"_errors": [{"code": "BUTTON_COMPONENT_INVALID_EMOJI", "message": "Invalid emoji"}]}}}, "1": {"emoji": {"name": {"_errors": [{"code": "BUTTON_COMPONENT_INVALID_EMOJI", "message": "Invalid emoji"}]}}}}}}}}}}} 2024/06/07 09:34:42 Error responding to interaction: HTTP 400 Bad Request, {"message": "Invalid Form Body", "code": 50035, "errors": {"data": {"components": {"0": {"components": {"0": {"options": {"0": {"emoji": {"name": {"_errors": [{"code": "BUTTON_COMPONENT_INVALID_EMOJI", "message": "Invalid emoji"}]}}}, "1": {"emoji": {"name": {"_errors": [{"code": "BUTTON_COMPONENT_INVALID_EMOJI", "message": "Invalid emoji"}]}}}}}}}}}}} 2024/06/07 09:41:12 Error responding to interaction: HTTP 400 Bad Request, {"message": "Invalid Form Body", "code": 50035, "errors": {"data": {"components": {"0": {"components": {"0": {"options": {"0": {"emoji": {"name": {"_errors": [{"code": "BUTTON_COMPONENT_INVALID_EMOJI", "message": "Invalid emoji"}]}}}, "1": {"emoji": {"name": {"_errors": [{"code": "BUTTON_COMPONENT_INVALID_EMOJI", "message": "Invalid emoji"}]}}}}}}}}}}}

whasamatau avatar Jun 07 '24 14:06 whasamatau