Update DiscordPreview.js

This commit is contained in:
Mirco Wittrien 2020-03-04 10:45:01 +01:00
parent 36dde50d4e
commit 29c66c1d98
1 changed files with 3 additions and 0 deletions

View File

@ -151,6 +151,9 @@ window.BDV2.WebpackModules.find = window.WebModulesFind;
window.BDV2.WebpackModules.findByUniqueProperties = window.WebModulesFindByProperties;
window.BDV2.WebpackModules.findByDisplayName = window.WebModulesFindByName;
window.BdApi = {};
window.BdApi.getData = _ => {return {};};
window.BdApi.loadData = _ => {return {};};
window.BdApi.saveData = _ => {};
window.BdApi.React = window.React;
window.BdApi.ReactDOM = window.ReactDOM;
window.BdApi.findModule = window.WebModulesFind;