Skip to content

Commit

Permalink
(plugins) fix zlib url
Browse files Browse the repository at this point in the history
Closes #100, #101
  • Loading branch information
TheCommieAxolotl committed Sep 14, 2024
1 parent a7752e7 commit 38b22da
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
6 changes: 3 additions & 3 deletions BetterSyntax/BetterSyntax.plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @name BetterSyntax
* @author TheCommieAxolotl#0001
* @description Lets you edit Syntax Highlighting with an easy interface and adds some useful buttons.
* @version 2.1.3
* @version 2.1.4
* @authorId 538487970408300544
* @invite 5BSWtSM3XU
* @source https://github.com/TheCommieAxolotl/BetterDiscord-Stuff/tree/main/BetterSyntax
Expand Down Expand Up @@ -36,7 +36,7 @@ module.exports = (() => {
},
],
github_raw: "https://raw.githubusercontent.com/TheCommieAxolotl/BetterDiscord-Stuff/main/BetterSyntax/BetterSyntax.plugin.js",
version: "2.1.3",
version: "2.1.4",
description: "Lets you edit Syntax Highlighting with an easy interface and adds some useful buttons.",
},

Expand Down Expand Up @@ -290,7 +290,7 @@ module.exports = (() => {
confirmText: "Download Now",
cancelText: "Cancel",
onConfirm: () => {
require("request").get("https://rauenzi.github.io/BDPluginLibrary/release/0PluginLibrary.plugin.js", async (error, response, body) => {
require("request").get("https://zerebos.github.io/BDPluginLibrary/release/0PluginLibrary.plugin.js", async (error, response, body) => {
if (error) return require("electron").shell.openExternal("https://betterdiscord.app/Download?id=9");
await new Promise((r) => require("fs").writeFile(require("path").join(BdApi.Plugins.folder, "0PluginLibrary.plugin.js"), body, r));
});
Expand Down
20 changes: 10 additions & 10 deletions CleanUpConfigs/CleanUpConfigs.plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ module.exports = (() => {
confirmText: "Download Now",
cancelText: "Cancel",
onConfirm: () => {
require("request").get("https://rauenzi.github.io/BDPluginLibrary/release/0PluginLibrary.plugin.js", async (error, response, body) => {
require("request").get("https://zerebos.github.io/BDPluginLibrary/release/0PluginLibrary.plugin.js", async (error, response, body) => {
if (error) return require("electron").shell.openExternal("https://betterdiscord.app/Download?id=9");
await new Promise((r) => require("fs").writeFile(require("path").join(BdApi.Plugins.folder, "0PluginLibrary.plugin.js"), body, r));
});
Expand Down Expand Up @@ -218,8 +218,8 @@ module.exports = (() => {
}),
],
},
tipProps,
),
tipProps
)
);
},
}),
Expand All @@ -229,7 +229,7 @@ module.exports = (() => {
tag: "h5",
className: "CleanUpConfigs-form-title",
},
"Clean Up Config Files",
"Clean Up Config Files"
),
],
}),
Expand All @@ -242,7 +242,7 @@ module.exports = (() => {
],
tag: "div",
},
"Check for BetterDiscord Config files that don't have a matching Plugin.",
"Check for BetterDiscord Config files that don't have a matching Plugin."
),
React.createElement(
Buttons,
Expand Down Expand Up @@ -283,7 +283,7 @@ module.exports = (() => {
size: Text.Sizes.SIZE_16,
className: "CleanUpConfigs-warning",
},
"Do you want to Delete them?",
"Do you want to Delete them?"
),
toDel.map((file) =>
React.createElement(
Expand All @@ -292,8 +292,8 @@ module.exports = (() => {
color: Text.Colors.HEADER_SECONDARY,
size: Text.Sizes.SIZE_16,
},
file + ".config.json",
),
file + ".config.json"
)
),
],
{
Expand All @@ -312,7 +312,7 @@ module.exports = (() => {
console.log(e);
}
},
},
}
);
} else {
showToast("0 Unused Config Files Found.");
Expand All @@ -323,7 +323,7 @@ module.exports = (() => {
});
},
},
"Check Configs",
"Check Configs"
),
]);
});
Expand Down
6 changes: 3 additions & 3 deletions PreviewMessage/PreviewMessage.plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @name PreviewMessage
* @author TheCommieAxolotl
* @description Allows you to preview a message before you send it.
* @version 1.0.2
* @version 1.0.3
* @authorId 538487970408300544
* @invite 5BSWtSM3XU
* @source https://github.com/TheCommieAxolotl/BetterDiscord-Stuff/tree/main/PreviewMessage
Expand All @@ -21,7 +21,7 @@ module.exports = (() => {
},
],
github_raw: "https://raw.githubusercontent.com/TheCommieAxolotl/BetterDiscord-Stuff/main/PreviewMessage/PreviewMessage.plugin.js",
version: "1.0.2",
version: "1.0.3",
description: "Allows you to preview a message before you send it.",
},
};
Expand All @@ -48,7 +48,7 @@ module.exports = (() => {
confirmText: "Download Now",
cancelText: "Cancel",
onConfirm: () => {
require("request").get("https://rauenzi.github.io/BDPluginLibrary/release/0PluginLibrary.plugin.js", async (error, response, body) => {
require("request").get("https://zerebos.github.io/BDPluginLibrary/release/0PluginLibrary.plugin.js", async (error, response, body) => {
if (error) return require("electron").shell.openExternal("https://betterdiscord.app/Download?id=9");
await new Promise((r) => require("fs").writeFile(require("path").join(BdApi.Plugins.folder, "0PluginLibrary.plugin.js"), body, r));
});
Expand Down
6 changes: 3 additions & 3 deletions Timezones/Timezones.plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @name Timezones
* @author TheCommieAxolotl#0001
* @description Allows you to display other Users' local times.
* @version 1.3.0
* @version 1.3.1
* @authorId 538487970408300544
* @invite 5BSWtSM3XU
* @source https://github.com/TheCommieAxolotl/BetterDiscord-Stuff/tree/main/Timezones
Expand All @@ -21,7 +21,7 @@ module.exports = (() => {
},
],
github_raw: "https://raw.githubusercontent.com/TheCommieAxolotl/BetterDiscord-Stuff/main/Timezones/Timezones.plugin.js",
version: "1.3.0",
version: "1.3.1",
description: "Allows you to display other Users' local times.",
},
defaultConfig: [
Expand Down Expand Up @@ -68,7 +68,7 @@ module.exports = (() => {
confirmText: "Download Now",
cancelText: "Cancel",
onConfirm: () => {
require("request").get("https://rauenzi.github.io/BDPluginLibrary/release/0PluginLibrary.plugin.js", async (error, response, body) => {
require("request").get("https://zerebos.github.io/BDPluginLibrary/release/0PluginLibrary.plugin.js", async (error, response, body) => {
if (error) return require("electron").shell.openExternal("https://betterdiscord.app/Download?id=9");
await new Promise((r) => require("fs").writeFile(require("path").join(BdApi.Plugins.folder, "0PluginLibrary.plugin.js"), body, r));
});
Expand Down
2 changes: 1 addition & 1 deletion UnMask/UnMask.plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ module.exports = (() => {
confirmText: "Download Now",
cancelText: "Cancel",
onConfirm: () => {
require("request").get("https://rauenzi.github.io/BDPluginLibrary/release/0PluginLibrary.plugin.js", async (error, response, body) => {
require("request").get("https://zerebos.github.io/BDPluginLibrary/release/0PluginLibrary.plugin.js", async (error, response, body) => {
if (error) return require("electron").shell.openExternal("https://betterdiscord.app/Download?id=9");
await new Promise((r) => require("fs").writeFile(require("path").join(BdApi.Plugins.folder, "0PluginLibrary.plugin.js"), body, r));
});
Expand Down

0 comments on commit 38b22da

Please sign in to comment.