Jack Nolddor Posted May 11, 2021 Report Posted May 11, 2021 (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 Edited May 11, 2021 by Jack Nolddor Quote
Dr. McKay Posted May 29, 2021 Report Posted May 29, 2021 My guess would be that your message is just too long, and Steam is choking on it. Quote
Jack Nolddor Posted May 29, 2021 Author Report Posted May 29, 2021 (edited) Sending same message manually does not reproduce the issue :S Edited May 29, 2021 by Jack Nolddor Quote
Dr. McKay Posted June 2, 2021 Report Posted June 2, 2021 When I try to get my own bot to send that exact message using that exact code, I get RateLimitExceeded (84) every time. Quote
Dr. McKay Posted June 2, 2021 Report Posted June 2, 2021 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}); Quote
Jack Nolddor Posted June 2, 2021 Author Report Posted June 2, 2021 (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? Edited June 2, 2021 by Jack Nolddor Quote
Recommended Posts
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.