Update ShowHiddenChannels.plugin.js
This commit is contained in:
parent
8967d8a542
commit
1082bf79f6
|
@ -53,8 +53,14 @@ module.exports = (_ => {
|
||||||
|
|
||||||
onStart () {
|
onStart () {
|
||||||
BDFDB.ModalUtils.open(this, {
|
BDFDB.ModalUtils.open(this, {
|
||||||
text: "DUE TO THE NEW PLUGIN GUIDELINES SET BY BETTERDISCORD TAKING EFFECT ON THE 7TH OF SEPTEMBER, SHOWHIDDENCHANNELS WILL NO LONGER BE CONTINUED. CLICK 'DELETE' TO REMOVE THIS EMPTFY PLUGIN FILE.",
|
|
||||||
header: "PLUGIN WAS DISCONTINUED",
|
header: "PLUGIN WAS DISCONTINUED",
|
||||||
|
children: [
|
||||||
|
BDFDB.ReactUtils.createElement("span", {children: "DUE TO THE NEW PLUGIN "}),
|
||||||
|
BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Anchor, {href: "https://docs.betterdiscord.app/plugins/introduction/guidelines/", children: "GUIDELINES"}),
|
||||||
|
BDFDB.ReactUtils.createElement("span", {children: " SET BY BETTERDISCORD TAKING EFFECT ON THE 7TH OF SEPTEMBER, SHOWHIDDENCHANNELS WILL NO LONGER BE CONTINUED. CLICK "}),
|
||||||
|
BDFDB.ReactUtils.createElement("strong", {children: "DELETE"}),
|
||||||
|
BDFDB.ReactUtils.createElement("span", {children: " TO REMOVE THIS EMPTY PLUGIN FILE."})
|
||||||
|
],
|
||||||
buttons: [
|
buttons: [
|
||||||
{contents: "DELETE", close: true, color: "RED", onClick: _ => {
|
{contents: "DELETE", close: true, color: "RED", onClick: _ => {
|
||||||
BDFDB.LibraryRequires.fs.unlink(BDFDB.LibraryRequires.path.join(BDFDB.BDUtils.getPluginsFolder(), "ShowHiddenChannels.plugin.js"), error => {});
|
BDFDB.LibraryRequires.fs.unlink(BDFDB.LibraryRequires.path.join(BDFDB.BDUtils.getPluginsFolder(), "ShowHiddenChannels.plugin.js"), error => {});
|
||||||
|
|
Loading…
Reference in New Issue