Update DiscordPreview.js

This commit is contained in:
Mirco Wittrien 2019-04-07 19:56:48 +02:00
parent 741e93495b
commit ef1f818c0a
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,9 @@ window.onmessage = function (e) {
}
}
};
window.require = function () {
return () => {};
};
window.getString = function (obj) {
var string = "";
if (typeof obj == "string") string = obj;