#Tried changing up the default controllor layout and now Invalid Emoji when it tries to send it

1 messages · Page 1 of 1 (latest)

dreamy pollen
#

What did i mess up. I even copy and pasted the default settings back in and im hitting the same issue. I cant figure out where i went wrong.

vocard  | Traceback (most recent call last):
vocard  |   File "/app/voicelink/player.py", line 466, in invoke_controller
vocard  |     self.controller = await func.send(self.context, content=embed, view=view, requires_fetch=True)
vocard  |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
vocard  |   File "/app/function.py", line 242, in send
vocard  |     message = await send_func(**send_kwargs)
vocard  |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
vocard  |   File "/usr/local/lib/python3.12/site-packages/discord/ext/commands/context.py", line 1079, in send
vocard  |     msg = await self.interaction.followup.send(**kwargs, wait=True)
vocard  |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
vocard  |   File "/usr/local/lib/python3.12/site-packages/discord/webhook/async_.py", line 1857, in send
vocard  |     data = await adapter.execute_webhook(
vocard  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
vocard  |   File "/usr/local/lib/python3.12/site-packages/discord/webhook/async_.py", line 226, in request
vocard  |     raise HTTPException(response, data)
vocard  | discord.errors.HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body
vocard  | In components.0.components.0.emoji.name: Invalid emoji
vocard  | In components.0.components.1.emoji.name: Invalid emoji
vocard  | In components.0.components.2.emoji.name: Invalid emoji
vocard  | In components.0.components.3.emoji.name: Invalid emoji
vocard  | In components.0.components.4.emoji.name: Invalid emoji

Config attached

#

Tried changing up the default controllor layout and now Invalid Emoji

#

Tried changing up the default controllor layout and now Invalid Emoji when it tries to send it

dreamy pollen
#

Solved!

I was editing the config in the WinSCP editor. That editor can not handle emojis. Ill stay in the IDE for now on.

Solution:

  • Make sure to use a file editor that can handle emojis... lol