[PCCompat] Remove excess logging

This commit is contained in:
Ducko 2021-04-06 17:58:15 +01:00 committed by Keanu
parent 2749e6ccb7
commit 1c25ad6c3c
Signed by: keanucode
GPG Key ID: A7431C0D513CA93B
1 changed files with 0 additions and 8 deletions

View File

@ -13,8 +13,6 @@ export const powercord = {
async ( { args: [ { text } ] } ) => {
const out = await executor(text.split(' ')); // Run original executor func (await incase it's an async function)
console.log(out);
if (!out.send) {
goosemodScope.patcher.internalMessage(out.result); // PC impl. sends internal message when out.send === false, so we also do the same via our previous Patcher API function
@ -95,20 +93,14 @@ const settingStores = {};
class SimpleStore {
constructor() {
console.log('cons', this);
this.store = {};
}
getSetting = (key, defaultValue) => {
console.log('getsetting', this);
return this.store[key] ?? defaultValue;
}
updateSetting = (key, value) => {
console.log('updatesetting', this);
this.store[key] = value;
}
}