');i.append(h.createElement('
Copy Selector
')),i.addEventListener("click",()=>{f.ElectronModule.copy(t),s.style.display="none"}),n.append(i),s.append(n)}))}getSelector(e){if(e.id)return`#${e.id}`;const t=this.getRules(e),s=t[t.length-1];return s?s.selectorText:e.classList.length?`.${Array.from(e.classList).join(".")}`:`.${Array.from(e.parentElement.classList).join(".")}`}getRules(e,t=e.ownerDocument.styleSheets){return[...t].filter(e=>!e.href||!e.href.includes("BetterDiscordApp")).map(e=>[...e.cssRules||[]]).flat().filter(t=>t&&t.selectorText&&e.matches(t.selectorText)&&t.style.length&&t.selectorText.split(", ").length<8&&!t.selectorText.split(", ").includes("*"))}},$t=new class extends Qe{get name(){return"Debugger"}get category(){return"developer"}get id(){return"debuggerHotkey"}enabled(){document.addEventListener("keydown",this.debugListener)}disabled(){document.removeEventListener("keydown",this.debugListener)}debugListener(e){119!==e.which&&118!=e.which||(e.preventDefault(),e.stopImmediatePropagation())}};const qt=s(0),Ht=s(2),Ut=s(1),_t=qt.remote.BrowserWindow,Wt=qt.remote.getCurrentWebContents();var Gt=new class extends Qe{get name(){return"ReactDevTools"}get category(){return"developer"}get id(){return"reactDevTools"}initialize(){super.initialize(),this.findExtension()}findExtension(){let e="";if(e="win32"===process.platform?Ut.resolve(process.env.LOCALAPPDATA,"Google/Chrome/User Data"):"linux"===process.platform?Ut.resolve(process.env.HOME,".config/google-chrome"):"darwin"===process.platform?Ut.resolve(process.env.HOME,"Library/Application Support/Google/Chrome"):Ut.resolve(process.env.HOME,".config/chromium"),e+="/Default/Extensions/fmkadmapgofadopljbjfkapdkoienihi/",Ht.existsSync(e)){const t=Ht.readdirSync(e);e=Ut.resolve(e,t[t.length-1])}this.extensionPath=e,this.isExtensionInstalled=Ht.existsSync(e),this.listener=this.listener.bind(this)}enabled(){if(this.isExtensionInstalled||this.findExtension(),!this.isExtensionInstalled)return oe.alert("Extension Not Found","Unable to find the React Developer Tools extension on your PC. Please install the extension on your local Chrome installation.");setImmediate(()=>Wt.on("devtools-opened",this.listener)),Wt.isDevToolsOpened()&&this.listener()}disabled(){Wt.removeListener("devtools-opened",this.listener)}listener(){if(!this.isExtensionInstalled)return;_t.removeDevToolsExtension("React Developer Tools"),_t.addDevToolsExtension(this.extensionPath)?this.log("Successfully installed react devtools."):this.error("Couldn't find react devtools in chrome extensions!")}};class Vt extends q.Component{render(){return q.createElement("svg",{className:"bd-logo "+this.props.className,height:"100%",width:this.props.size||"16px",viewBox:"0 0 2000 2000",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}},q.createElement("metadata",null),q.createElement("defs",null,q.createElement("filter",{id:"shadow1"},q.createElement("feDropShadow",{dx:"20",dy:"0",stdDeviation:"20",floodColor:"rgba(0,0,0,0.35)"})),q.createElement("filter",{id:"shadow2"},q.createElement("feDropShadow",{dx:"15",dy:"0",stdDeviation:"20",floodColor:"rgba(255,255,255,0.15)"})),q.createElement("filter",{id:"shadow3"},q.createElement("feDropShadow",{dx:"10",dy:"0",stdDeviation:"20",floodColor:"rgba(0,0,0,0.35)"}))),q.createElement("g",null,q.createElement("path",{style:{filter:"url(#shadow3)"},fill:"#171717",opacity:"1",d:"M1195.44+135.442L1195.44+135.442L997.6+136.442C1024.2+149.742+1170.34+163.542+1193.64+179.742C1264.34+228.842+1319.74+291.242+1358.24+365.042C1398.14+441.642+1419.74+530.642+1422.54+629.642L1422.54+630.842L1422.54+632.042C1422.54+773.142+1422.54+1228.14+1422.54+1369.14L1422.54+1370.34L1422.54+1371.54C1419.84+1470.54+1398.24+1559.54+1358.24+1636.14C1319.74+1709.94+1264.44+1772.34+1193.64+1821.44C1171.04+1837.14+1025.7+1850.54+1000+1863.54L1193.54+1864.54C1539.74+1866.44+1864.54+1693.34+1864.54+1296.64L1864.54+716.942C1866.44+312.442+1541.64+135.442+1195.44+135.442Z"}),q.createElement("path",{style:{filter:"url(#shadow2)"},fill:"#3E82E5",opacity:"1",d:"M1695.54+631.442C1685.84+278.042+1409.34+135.442+1052.94+135.442L361.74+136.442L803.74+490.442L1060.74+490.442C1335.24+490.442+1335.24+835.342+1060.74+835.342L1060.74+1164.84C1150.22+1164.84+1210.53+1201.48+1241.68+1250.87C1306.07+1353+1245.76+1509.64+1060.74+1509.64L361.74+1863.54L1052.94+1864.54C1409.24+1864.54+1685.74+1721.94+1695.54+1368.54C1695.54+1205.94+1651.04+1084.44+1572.64+999.942C1651.04+915.542+1695.54+794.042+1695.54+631.442Z"}),q.createElement("path",{style:{filter:"url(#shadow1)"},fill:"#FFFFFF",opacity:"1",d:"M1469.25+631.442C1459.55+278.042+1183.05+135.442+826.65+135.442L135.45+135.442L135.45+1004C135.45+1004+135.427+1255.21+355.626+1255.21C575.825+1255.21+575.848+1004+575.848+1004L577.45+490.442L834.45+490.442C1108.95+490.442+1108.95+835.342+834.45+835.342L664.65+835.342L664.65+1164.84L834.45+1164.84C923.932+1164.84+984.244+1201.48+1015.39+1250.87C1079.78+1353+1019.47+1509.64+834.45+1509.64L135.45+1509.64L135.45+1864.54L826.65+1864.54C1182.95+1864.54+1459.45+1721.94+1469.25+1368.54C1469.25+1205.94+1424.75+1084.44+1346.35+999.942C1424.75+915.542+1469.25+794.042+1469.25+631.442Z"})))}}const Jt=f.React,Yt=g.getByDisplayName("Tooltip");var Xt=new class{initialize(){u.suppressErrors(this.patchSocial.bind(this),"BD Social Patch")(),u.suppressErrors(this.patchGuildPills.bind(this),"BD Guild Pills Patch")(),u.suppressErrors(this.patchGuildListItems.bind(this),"BD Guild List Items Patch")(),u.suppressErrors(this.patchGuildSeparator.bind(this),"BD Guild Separator Patch")(),u.suppressErrors(this.patchMessageHeader.bind(this),"BD Message Header Patch")(),u.suppressErrors(this.patchMemberList.bind(this),"BD Member List Patch")()}patchSocial(){if(this.socialPatch)return;const e=g.getByDisplayName("TabBar"),t=g.getByDisplayName("Anchor");e&&(this.socialPatch=j.after("ComponentPatcher",e.prototype,"render",(e,s,n)=>{const i=n.props.children;if(!i||!i.length||i.length<3)return;if("Separator"!==i[i.length-3].type.displayName)return;if(!i[i.length-2].type.toString().includes("socialLinks"))return;if(t){const e=i[i.length-2].type,s=function(){const s=e(...arguments);return s.props.children.push(f.React.createElement(t,{className:"bd-social-link",href:"https://twitter.com/BandagedBD",title:"BandagedBD",target:"_blank"},f.React.createElement(Vt,{size:"16px",className:"bd-social-logo"}))),s};i[i.length-2].type=s}const r=f.React.createElement("div",{className:"colorMuted-HdFt4q size12-3cLvbJ"},`Injector ${o.version}`),a=`(${o.hash?o.hash.substring(0,7):o.branch})`,l=f.React.createElement("div",{className:"colorMuted-HdFt4q size12-3cLvbJ"},`BBD ${o.bbdVersion} `,f.React.createElement("span",{className:"versionHash-2gXjIB da-versionHash"},a)),d=i[i.length-1].type;i[i.length-1].type=function(){const e=d(...arguments);return e.props.children.splice(e.props.children.length-1,0,r),e.props.children.splice(1,0,l),e}}))}patchGuildListItems(){if(this.guildListItemsPatch)return;const e=f.GuildClasses.listItem.split(" ")[0],t=f.GuildClasses.blobContainer.split(" ")[0],s=u.getReactInstance(document.querySelector(`.${e} .${t}`).parentElement).return.type;s&&(this.guildListItemsPatch=j.after("ComponentPatcher",s.prototype,"render",(e,t,s)=>{if(!s||!e)return;const n=e.props;return s.props.className+=" bd-guild",n.unread&&(s.props.className+=" bd-unread"),n.selected&&(s.props.className+=" bd-selected"),n.audio&&(s.props.className+=" bd-audio"),n.video&&(s.props.className+=" bd-video"),n.badge&&(s.props.className+=" bd-badge"),n.animatable&&(s.props.className+=" bd-animatable"),s}))}patchGuildPills(){if(this.guildPillPatch)return;const e=g.getModule(e=>e.default&&!e.default.displayName&&e.default.toString&&e.default.toString().includes("translate3d"));e&&(this.guildPillPatch=j.after("ComponentPatcher",e,"default",(e,t,s)=>{const n=t[0];return n.unread&&(s.props.className+=" bd-unread"),n.selected&&(s.props.className+=" bd-selected"),n.hovered&&(s.props.className+=" bd-hovered"),s}))}patchGuildSeparator(){if(this.guildSeparatorPatch)return;const e=g.getByDisplayName("Guilds"),t=g.getByProps("renderListItem");if(!t||!e)return;const s=function(){const e=t.Separator(...arguments);return e.props.className+=" bd-guild-separator",e};this.guildSeparatorPatch=j.after("ComponentPatcher",e.prototype,"render",(e,t,n)=>{const i=u.findInReactTree(n,e=>e.type&&!e.type.displayName&&"function"==typeof e.type&&u.isEmpty(e.props));i&&(i.type=s)})}patchMessageHeader(){if(this.messageHeaderPatch)return;const e=g.getByProps("MessageTimestamp"),t=g.find(e=>"Anchor"==e.displayName);t&&e&&e.default&&(this.messageHeaderPatch=j.after("ComponentPatcher",e,"default",(e,s,n)=>{const i=u.getNestedProp(s[0],"message.author"),o=u.getNestedProp(n,"props.children.1.props.children.1.props.children");o&&i&&i.id&&"249746236008169473"===i.id&&Array.isArray(o)&&o.push(Jt.createElement(Yt,{color:"black",position:"top",text:"BandagedBD Developer"},e=>Jt.createElement(t,Object.assign({className:"bd-chat-badge",href:"https://github.com/rauenzi/BetterDiscordApp",title:"BandagedBD",target:"_blank"},e),Jt.createElement(Vt,{size:"16px",className:"bd-logo"}))))}))}patchMemberList(){if(this.memberListPatch)return;const e=g.findByDisplayName("MemberListItem"),t=g.find(e=>"Anchor"==e.displayName);t&&e&&e.prototype&&e.prototype.renderDecorators&&(this.memberListPatch=j.after("ComponentPatcher",e.prototype,"renderDecorators",(e,s,n)=>{const i=u.getNestedProp(e,"props.user"),o=u.getNestedProp(n,"props.children");o&&i&&i.id&&"249746236008169473"===i.id&&Array.isArray(o)&&o.push(Jt.createElement(Yt,{color:"black",position:"top",text:"BandagedBD Developer"},e=>Jt.createElement(t,Object.assign({className:"bd-member-badge",href:"https://github.com/rauenzi/BetterDiscordApp",title:"BandagedBD",target:"_blank"},e),Jt.createElement(Vt,{size:"16px",className:"bd-logo"}))))}))}};const Zt=f.GuildClasses;function Kt(){}Kt.prototype.setConfig=function(e){Object.assign(o,e)},Kt.prototype.init=async function(){if(S.initialize(),await A.initialize(),o.version
o.version&&oe.showConfirmationModal(N.Startup.updateAvailable,N.Startup.updateInfo.format({version:e}),{confirmText:N.Startup.updateNow,cancelText:N.Startup.maybeLater,onConfirm:async()=>{const e=()=>{oe.alert(N.Startup.updateFailed,N.Startup.manualUpdate)};try{if(!await this.updateInjector())return e();const t=s(0).remote.app;t.relaunch(),t.exit()}catch(t){e()}}}),c.log("Startup","Initializing Settings"),L.initialize(),D.initialize(),await this.waitForGuilds(),R.initialize(),Xt.initialize();for(const e in n)n[e].initialize();c.log("Startup","Loading Plugins");const t=Xe.initialize();c.log("Startup","Loading Themes");const i=Ke.initialize();c.log("Startup","Removing Loading Icon"),document.getElementsByClassName("bd-loaderv2")[0].remove(),c.log("Startup","Collecting Startup Errors"),oe.showAddonErrors({plugins:t,themes:i});const r=S.getBDData("version");o.bbdVersion>r&&(oe.showChangelogModal(l),S.setBDData("version",o.bbdVersion))},Kt.prototype.waitForGuilds=function(){let e=0;return new Promise(t=>{const s=function(){e++,"complete"!=document.readyState&&setTimeout(s,100);const n=Zt.wrapper.split(" ")[0],i=Zt.listItem.split(" ")[0],r=Zt.blobContainer.split(" ")[0];return document.querySelectorAll(`.${n} .${i} .${r}`).length>0||e>=50?t(o.deferLoaded=!0):void setTimeout(s,100)};s()})},Kt.prototype.updateInjector=async function(){const e=S.injectionPath;if(!e)return!1;const t=s(2),n=s(1),i=s(6),o=s(7),r=s(8),a=s(3),l=n.resolve(e,".."),d=n.basename(e),h="https://github.com/rauenzi/BetterDiscordApp/archive/injector.zip",u=n.resolve(l,"injector.zip"),p=n.resolve(l,"BetterDiscordApp-injector");c.log("InjectorUpdate","Downloading "+h);let m=await new Promise(e=>{a.get({url:h,encoding:null},async(s,n,i)=>{if(s||200!==n.statusCode)return e(!1);await new Promise(e=>t.exists(u,e))&&await new Promise(e=>t.rename(u,`${u}.bak${Math.round(performance.now())}`,e)),c.log("InjectorUpdate","Writing "+u),t.writeFile(u,i,t=>e(!t))})});if(!m)return m;await new Promise(e=>t.exists(p,e))&&await new Promise(e=>t.rename(p,`${p}.bak${Math.round(performance.now())}`,e));const g=await new Promise(e=>o.open(u,{lazyEntries:!0},(t,s)=>e(s)));g.on("entry",(function(e){if(e.fileName.endsWith("/"))return g.readEntry();c.log("InjectorUpdate","Extracting "+e.fileName);const s=n.resolve(l,e.fileName);r.sync(n.dirname(s)),g.openReadStream(e,(function(e,n){if(e)return m=!1;n.on("end",(function(){g.readEntry()})),n.pipe(t.createWriteStream(s))}))})),g.readEntry(),await new Promise(e=>g.once("end",e));const f=n.resolve(l,`${d}.bak${Math.round(performance.now())}`);return await new Promise(s=>t.rename(e,f,s)),c.log("InjectorUpdate",`Renaming ${n.basename(p)} to ${d}`),m=await new Promise(s=>t.rename(p,e,e=>s(!e))),m?m?(await new Promise(e=>i(f,e)),await new Promise(e=>t.unlink(u,e)),c.log("InjectorUpdate","Injector Updated!"),m):(c.err("InjectorUpdate","Something went wrong... restoring backups."),await new Promise(e=>i(p,e)),await new Promise(s=>t.rename(f,e,s)),m):(c.err("InjectorUpdate","Failed to rename the final directory"),m)};var Qt=new Kt;const es={get React(){return f.React},get ReactDOM(){return f.ReactDOM},get WindowConfigFile(){return""},get settings(){return L.collections},get emotes(){return{}},get version(){return o.version},getAllWindowPreferences:function(){return S.getData("windowprefs")||{}},getWindowPreference:function(e){return this.getAllWindowPreferences()[e]},setWindowPreference:function(e,t){const s=this.getAllWindowPreferences();return s[e]=t,S.setData("windowprefs",s)},injectCSS:function(e,t){D.injectStyle(e,t)},clearCSS:function(e){D.removeStyle(e)},linkJS:function(e,t){return D.injectScript(e,t)},unlinkJS:function(e){D.removeScript(e)},alert:function(e,t){oe.alert(e,t)},showConfirmationModal:function(e,t,s={}){return oe.showConfirmationModal(e,t,s)},showToast:function(e,t={}){W.show(e,t)},findModule:function(e){return g.getModule(e)},findAllModules:function(e){return g.getModule(e,!1)},findModuleByProps:function(...e){return g.getByProps(...e)},findModuleByPrototypes:function(...e){return g.getByPrototypes(...e)},findModuleByDisplayName:function(e){return g.getByDisplayName(e)},getInternalInstance:function(e){if(e instanceof window.jQuery||e instanceof Element)return e instanceof jQuery&&(e=e[0]),u.getReactInstance(e)},loadData:function(e,t){return S.getPluginData(e,t)}};es.getData=es.loadData,es.saveData=function(e,t,s){return S.setPluginData(e,t,s)},es.setData=es.saveData,es.deleteData=function(e,t){return S.deletePluginData(e,t)},es.monkeyPatch=function(e,t,s){const{before:n,after:i,instead:o,once:r=!1,silent:a=!1,force:l=!1}=s,d=s.displayName||e.displayName||e.name||e.constructor.displayName||e.constructor.name;if(a||console.log("patch",t,"of",d),!e[t]){if(!l)return console.error(t,"does not exist for",d);e[t]=function(){}}const c=e[t],h=()=>{a||console.log("unpatch",t,"of",d),e[t]=c};return e[t]=function(){const s={thisObject:this,methodArguments:arguments,cancelPatch:h,originalMethod:c,callOriginalMethod:()=>s.returnValue=s.originalMethod.apply(s.thisObject,s.methodArguments)};if(o){const n=u.suppressErrors(o,"`instead` callback of "+e[t].displayName)(s);void 0!==n&&(s.returnValue=n)}else n&&u.suppressErrors(n,"`before` callback of "+e[t].displayName)(s),s.callOriginalMethod(),i&&u.suppressErrors(i,"`after` callback of "+e[t].displayName)(s);return r&&h(),s.returnValue},e[t].__monkeyPatched=!0,e[t].__originalMethod||(e[t].__originalMethod=c),e[t].displayName="patched "+(e[t].displayName||t),h},es.onRemoved=function(e,t){return u.onRemoved(e,t)},es.suppressErrors=function(e,t){return u.suppressErrors(e,t)},es.testJSON=function(e){return u.testJSON(e)},es.getPlugin=function(e){return c.warn("BdApi","getPlugin is deprecated. Please make use of the addon api (BdApi.Plugins)"),Xe.addonList.find(t=>t.name==e)},es.isPluginEnabled=function(e){c.warn("BdApi","isPluginEnabled is deprecated. Please make use of the addon api (BdApi.Plugins)");const t=this.getPlugin(e);return!!t&&Xe.isEnabled(t.id)},es.isThemeEnabled=function(e){c.warn("BdApi","isThemeEnabled is deprecated. Please make use of the addon api (BdApi.Themes)");const t=Ke.addonList.find(t=>t.name==e);return!!t&&Ke.isEnabled(t.id)},es.isSettingEnabled=function(e,t,s){return L.get(e,t,s)},es.enableSetting=function(e,t,s){return L.set(e,t,s,!0)},es.disableSetting=function(e,t,s){return L.set(e,t,s,!1)},es.toggleSetting=function(e,t,s){return L.set(e,t,s,!L.get(e,t,s))},es.getBDData=function(e){return S.getBDData(e)},es.setBDData=function(e,t){return S.setBDData(e,t)};const ts=e=>new class{get folder(){return e.folder}isEnabled(t){return e.isEnabled(t)}enable(t){return e.enableAddon(t)}disable(t){return e.disableAddon(t)}toggle(t){return e.toggleAddon(t)}reload(t){return e.reloadAddon(t)}get(t){return e.addonList.find(e=>e.id==t||e.filename==t)}getAll(){return e.addonList}};es.Plugins=ts(Xe),es.Themes=ts(Ke),Object.freeze(es),Object.freeze(es.Plugins),Object.freeze(es.Themes);var ss=es;s.d(t,"default",(function(){return is})),function(){const e=Object.getOwnPropertyDescriptor(HTMLIFrameElement.prototype,"contentWindow").get;Object.defineProperty(HTMLIFrameElement.prototype,"contentWindow",{get:function(){const t=Reflect.apply(e,this,arguments);return new Proxy(t,{getOwnPropertyDescriptor:function(e,t){if("localStorage"!==t)return Object.getOwnPropertyDescriptor(e,t)},get:function(e,t){if("localStorage"===t)return null;const s=e[t];return"function"==typeof s?s.bind(e):s}})}}),Object.defineProperty(Reflect,"apply",{value:Reflect.apply,writable:!1,configurable:!1}),Object.defineProperty(Function.prototype,"bind",{value:Function.prototype.bind,writable:!1,configurable:!1});const t=XMLHttpRequest.prototype.open;XMLHttpRequest.prototype.open=function(){const e=arguments[1];return e.toLowerCase().includes("api/webhooks")?null:Reflect.apply(t,this,arguments)}}();const ns=document.createElement("div");ns.className="bd-loaderv2",ns.title="BandagedBD is loading...",document.body.appendChild(ns),window.BdApi=ss;class is{constructor(e){Qt.setConfig(e)}init(){Qt.init()}}!function(){const e="betterdiscord/",t=s(4),n=t._load;t._load=function(t){if("betterdiscord"===t||t.startsWith(e)){if("api"==t.substr(e.length))return ss}return n.apply(this,arguments)}}()}]).default;
\ No newline at end of file
diff --git a/src/index.js b/src/index.js
index 9d92b101..e3f39c12 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,17 +1,17 @@
-import {Config} from "data";
+// import {Config} from "data";
import secure from "./secure";
import Core from "./modules/core";
import BdApi from "./modules/pluginapi";
-import PluginManager from "./modules/pluginmanager";
-import ThemeManager from "./modules/thememanager";
-import Events from "./modules/emitter";
-import Settings from "./modules/settingsmanager";
-import DataStore from "./modules/datastore";
-import EmoteModule from "./builtins/emotes/emotes";
-import DomManager from "./modules/dommanager";
-import Utilities from "./modules/utilities";
-import ReactComponents from "./modules/reactcomponents";
-import Strings from "./modules/strings";
+// import PluginManager from "./modules/pluginmanager";
+// import ThemeManager from "./modules/thememanager";
+// import Events from "./modules/emitter";
+// import Settings from "./modules/settingsmanager";
+// import DataStore from "./modules/datastore";
+// import EmoteModule from "./builtins/emotes/emotes";
+// import DomManager from "./modules/dommanager";
+// import Utilities from "./modules/utilities";
+// import ReactComponents from "./modules/reactcomponents";
+// import Strings from "./modules/strings";
// Perform some setup
secure();
@@ -27,24 +27,24 @@ window.BdApi = BdApi;
// window.settingsCookie = SettingsCookie;
// window.pluginCookie = PluginCookie;
// window.themeCookie = ThemeCookie;
-window.pluginModule = PluginManager;
-window.themeModule = ThemeManager;
-// window.bdthemes = Themes;
-// window.bdplugins = Plugins;
-window.bdEmotes = EmoteModule.Emotes;
-window.bemotes = EmoteModule.blacklist;
-// window.bdPluginStorage = bdPluginStorage;
-window.settingsModule = Settings;
-window.DataStore = DataStore;
+// window.pluginModule = PluginManager;
+// window.themeModule = ThemeManager;
+// // window.bdthemes = Themes;
+// // window.bdplugins = Plugins;
+// window.bdEmotes = EmoteModule.Emotes;
+// window.bemotes = EmoteModule.blacklist;
+// // window.bdPluginStorage = bdPluginStorage;
+// window.settingsModule = Settings;
+// window.DataStore = DataStore;
-window.DomManager = DomManager;
-window.utils = Utilities;
-window.Components = ReactComponents;
+// window.DomManager = DomManager;
+// window.utils = Utilities;
+// window.Components = ReactComponents;
-window.BDEvents = Events;
-window.bdConfig = Config;
-window.Strings = Strings;
+// window.BDEvents = Events;
+// window.bdConfig = Config;
+// window.Strings = Strings;
export default class CoreWrapper {
constructor(config) {
diff --git a/src/modules/pluginmanager.js b/src/modules/pluginmanager.js
index 316d5707..fb449529 100644
--- a/src/modules/pluginmanager.js
+++ b/src/modules/pluginmanager.js
@@ -97,6 +97,7 @@ export default new class PluginManager extends AddonManager {
module.exports = meta;
return "";
}
+ Logger.warn(this.name, `${meta.name}, please start assigning module.exports`);
fileContent += `\nmodule.exports = ${JSON.stringify(meta)};\nmodule.exports.type = ${meta.exports || meta.name};`;
return fileContent;
}