We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2a9741 commit 4f4a492Copy full SHA for 4f4a492
1 file changed
basicBot.js
@@ -177,7 +177,7 @@
177
}
178
179
var json_sett = null;
180
- var roominfo = document.getElementById('room-settings');
+ var roominfo = _.find(require.s.contexts._.defined, (m) => m && m.attributes && 'hostID' in m.attributes).get('description');
181
info = roominfo.textContent;
182
var ref_bot = '@basicBot=';
183
var ind_ref = info.indexOf(ref_bot);
0 commit comments