-
Notifications
You must be signed in to change notification settings - Fork 583
Description
Plug.dj recently pushed an update that changes the way the room description is displayed.
When the bot is looking for the community's description basicBot.js#L180 it errors out because it can no longer access this information, not only because the classes changed, but also because it isn't pre-loaded anymore. You now have to open the community's about section before you can even attempt to access it.
To remedy this issue, I would strongly advise switching up to an ajax get request pointing to the rooms/state endpoint in order to obtain the community's description. This is much more reliable and future-proof.
The only downside I can see of using this method is if you're spamming the API for some reason, the request will not succeed and you won't be able to gather up the room's details. This would however, not prevent basic (and custom repos for that matter) to load as it is currently the case.
In hope this helps :)