??
This commit is contained in:
parent
58049bff90
commit
75c414a7de
1 changed files with 12 additions and 12 deletions
|
@ -130,19 +130,19 @@ module.exports = {
|
||||||
|
|
||||||
await db.set("feeds.three", {
|
await db.set("feeds.three", {
|
||||||
color: col,
|
color: col,
|
||||||
description: description,
|
description,
|
||||||
published: Date.now(),
|
published: Date.now(),
|
||||||
icon: icon,
|
icon,
|
||||||
diff: diff,
|
diff,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
if (!db.get("feeds.three")) {
|
if (!db.get("feeds.three")) {
|
||||||
await db.set("feeds.three", {
|
await db.set("feeds.three", {
|
||||||
color: col,
|
color: col,
|
||||||
description: description,
|
description,
|
||||||
published: Date.now(),
|
published: Date.now(),
|
||||||
icon: icon,
|
icon,
|
||||||
diff: diff,
|
diff,
|
||||||
});
|
});
|
||||||
} else if (!db.get("feeds.two")) {
|
} else if (!db.get("feeds.two")) {
|
||||||
const f3 = db.get("feeds.three");
|
const f3 = db.get("feeds.three");
|
||||||
|
@ -157,10 +157,10 @@ module.exports = {
|
||||||
|
|
||||||
await db.set("feeds.three", {
|
await db.set("feeds.three", {
|
||||||
color: col,
|
color: col,
|
||||||
description: description,
|
description,
|
||||||
published: Date.now(),
|
published: Date.now(),
|
||||||
icon: icon,
|
icon,
|
||||||
diff: diff,
|
diff,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
const f3 = db.get("feeds.three");
|
const f3 = db.get("feeds.three");
|
||||||
|
@ -184,10 +184,10 @@ module.exports = {
|
||||||
|
|
||||||
await db.set("feeds.three", {
|
await db.set("feeds.three", {
|
||||||
color: col,
|
color: col,
|
||||||
description: description,
|
description,
|
||||||
published: Date.now(),
|
published: Date.now(),
|
||||||
icon: icon,
|
icon,
|
||||||
diff: diff,
|
diff,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue