Jump to content
McKay Development

Recommended Posts

Posted (edited)

I'm facing an strange error while sending big messages using /pre tag (see attached image)

I haven't be able to determine de root cause checking your actual source code on github. But, sending the same message manually using steam client seems not to reproduce the error, it seems the problem is caused but steam-user module itself

You can check the live demo at my bot:

https://steamcommunity.com/profiles/76561199096164013/

STEPS TO REPRODUCE:

1.- Add the above account
2.- Type !help at its chatroom

 

Relate Source Code:
https://pastebin.com/raw/qrS9jgYD

 

Is it my fault? I'm doing something bad? Help is appreciated.
Thanks

 

ksnip_20210511-214519.png

Edited by Jack Nolddor
  • 3 weeks later...
Posted (edited)
Quote

When I try to get my own bot to send that exact message using that exact code, I get RateLimitExceeded (84) every time.

Yeah, Steam changed chat ratelimit few days ago, now my text is too large for new limit.

 

Quote

v4.19.10 should fix this issue, although you will also have to add the containsBbCode option, like this:

client.chat.sendFriendMessage(sender, response, {includesBbCode: true});

Oh already saw the new release, ty for the fix! <3 good job

PS: Isn't includesBbCode true by default?

unknown.png

 

 

Edited by Jack Nolddor

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...