-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slash Interactions Should Not Timeout Before RCON Response #17
Comments
discord/discord-api-docs#2482 |
Is it possible to modify utf as well? utf still doesn't work. |
Can you give me some more detail? Thanks! |
2024-02-15 09:04:29,968 - main - ERROR - Unable to fetch/send game server info: 'utf-8' codec can't decode byte 0xec in position 38: invalid continuation byt The above exception was the direct cause of the following exception: Traceback (most recent call last): apply the changed main.py to the utf version, it will be output as above. Maybe change it, it looks like the utf coding has changed. |
@Bratah123 Do you think just calling the |
I think this problem isn't related to this issue, it might be non-latin characters messing up again? |
Ah, okay, have you thought about a fix for this? I have one in mind, but curious if you and kookie are already working on something? |
His specific error might be caused by our utf branch of the bot, which was our experimental bot trying to solve this problem. My solution was to write my own RCON library specifically for palworld. I'm open to any solutions that are tested though |
I think this would be fun to try and tackle. |
For this one, I'm guessing it's timing out - I'll have to double check the timeout duration for RCON side, to make sure that it's kept within 3 seconds
Although the proper way to handle this is probably to use the
.defer()
method to allow the slash command to not time out before the internal RCON client gives a response to the Discord botOriginally posted by @KOOKIIEStudios in #6 (comment)
The text was updated successfully, but these errors were encountered: