Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[BUG/Dev-server] sendChat /w GM broken

sendChat('API','/w GM some message') {"who":"error","type":"error","content":"Unable to find a player or character with name: GM"} doesn't seem to work this evening, was there a recent update?
1430176645
Stephen Koontz
Forum Champion
Marketplace Creator
Sheet Author
API Scripter
Compendium Curator
There seems to be a case sensitivity bug. Change it to '/w gm some message' for now as a work around. We'll take a look at what the problem is.
Alright sounds good. As an aside, /desc also has some new odd behavior as well: sendChat('API','/desc there is a creaky old house in the distance...') Where normally the sender name is hidden during /desc. This can be circumvented by having the sender as '' but both this and the case-sensitive issue appeared this evening.
We've made some changes to the way sendChat() works to catch it up with the way it works on the client (see here: <a href="https://app.roll20.net/forum/post/1884507/api-upda" rel="nofollow">https://app.roll20.net/forum/post/1884507/api-upda</a>... ) I'll take a look at both of these things, though, in the mean time.
The /w GM case-sensitivity issue should be fixed.
1430192079
Falcon
Pro
Sheet Author
Thanks Riley