stuff
This commit is contained in:
parent
e6070cdd4d
commit
d9f68437ad
|
@ -171,21 +171,6 @@ var PinDMs = (_ => {
|
|||
if (this.started) return;
|
||||
BDFDB.PluginUtils.init(this);
|
||||
|
||||
// REMOVE 05.01.2020
|
||||
let oldData = this.sortAndUpdate("pinnedDMs");
|
||||
if (oldData.length) {
|
||||
let id = this.generateID("dmCategories").toString();
|
||||
BDFDB.DataUtils.save({
|
||||
id: id,
|
||||
name: this.labels.header_pinneddms_text,
|
||||
dms: oldData,
|
||||
pos: 0,
|
||||
color: null,
|
||||
collapsed: false
|
||||
}, this, "dmCategories", id);
|
||||
BDFDB.DataUtils.remove(this, "pinnedDMs");
|
||||
}
|
||||
|
||||
this.forceUpdateAll();
|
||||
}
|
||||
else console.error(`%c[${this.getName()}]%c`, "color: #3a71c1; font-weight: 700;", "", "Fatal Error: Could not load BD functions!");
|
||||
|
|
|
@ -244,7 +244,7 @@ var PluginRepo = (_ => {
|
|||
if (this.started) return;
|
||||
BDFDB.PluginUtils.init(this);
|
||||
|
||||
// REMOVE 18.01.2020
|
||||
// REMOVE 10.02.2020
|
||||
let olddata = BDFDB.DataUtils.load(this, "ownlist", "ownlist");
|
||||
if (olddata) {
|
||||
BDFDB.DataUtils.save(olddata, this, "custom");
|
||||
|
|
|
@ -73,13 +73,6 @@ var ServerHider = (_ => {
|
|||
if (this.started) return;
|
||||
BDFDB.PluginUtils.init(this);
|
||||
|
||||
// REMOVE 22.11.2019
|
||||
let olddata = BDFDB.DataUtils.load(this, "hiddenservers", "hiddenservers");
|
||||
if (olddata) {
|
||||
BDFDB.DataUtils.save(olddata, this, "hidden", "servers");
|
||||
BDFDB.DataUtils.remove(this, "hiddenservers");
|
||||
}
|
||||
|
||||
BDFDB.ModuleUtils.patch(this, BDFDB.LibraryModules.FolderStore, "getGuildFolderById", {after: e => {
|
||||
let hiddenGuildIds = BDFDB.DataUtils.load(this, "hidden", "servers") || [];
|
||||
if (e.returnValue && hiddenGuildIds.length) {
|
||||
|
|
|
@ -316,7 +316,7 @@ var ThemeRepo = (_ => {
|
|||
if (this.started) return;
|
||||
BDFDB.PluginUtils.init(this);
|
||||
|
||||
// REMOVE 18.01.2020
|
||||
// REMOVE 10.02.2020
|
||||
let olddata = BDFDB.DataUtils.load(this, "ownlist", "ownlist");
|
||||
if (olddata) {
|
||||
BDFDB.DataUtils.save(olddata, this, "custom");
|
||||
|
|
Loading…
Reference in New Issue