Giter Club home page Giter Club logo

bdpluginlibrary's People

Contributors

1lighty avatar alvesvaren avatar arg0nny avatar darten73 avatar dependabot[bot] avatar dorcomando avatar jaimeadf avatar man-zana avatar mwittrien avatar qbdesu avatar rauenzi avatar skamt avatar smolalli avatar strencher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bdpluginlibrary's Issues

Add default value to FilePicker, Directory-only as an option to FilePicker, and other suggestions

The setting module's FilePicker (docs) has an issue where there is no option to have a default directory.

  • Allowing the change of the placeholder value and the text on the button would be good for plugin developer choice and would allow plugin developers to provide translations.

FilePicker also only has the ability to select files, with no capability to select directories.

  • When selecting a directory it should show the directory for it in the settings panel instead of just the foldername. The version you provided me earlier only showed the foldername.

  • Being able to manually edit the text for the directory would be nice to have, but isn't required. Currently clicking anywhere on the FilePicker will open the dialog box, even if you click on the textarea.

The library crashes discord search bar.

Go to a server and click into the search bar with the library enabled. Expected result: you can type in the search bar just fine. Actual result: as soon as you start typing discord crashes. Screenshot_623
Screenshot_624

Constant crashing on macOS

When running the discord app with Zeres/0, it immediatly crashes with the "Well, this is awkward" message. Removing the plugin fixes the issue, but my other plugins are unable to function.

Plugin won't update

Every time my discord reloads or restarts, it tells me that I need to update this plugin. I've tried reinstalling BD and the plugin with no solution. This plugin is the only plugin with this issue, this problem also occurs with my friend as well.

The config for this plugin shows version 1.2.6 even though the plugin is 100% version 1.2.7.

gyTcSDS

Plugin updater on Mac downloads to the old directory

Describe the bug
After updating to the new installer, the plugin folder location changed from ~/Library/Preferences/BetterDiscord to ~/Library/Application Support/betterdiscord. When I use the plugin update popups, the updates install on the old directory

To Reproduce

  1. Install a plugin that needs updating
  2. Click on the update button in the banner
  3. Reload Discord and it'll say they still need updating
  4. Look in the old folder and the updated version plugin will be there

Expected behavior
The updater installs to the correct plugin folder

Screenshots
Trying to use the updater:
https://user-images.githubusercontent.com/14863373/115150564-8b3e7c80-a02e-11eb-8f16-cc554ea2eb40.mp4
Old plugin folder:
image

System Information:

  • OS: macOS
  • Discord Version: Canary
  • BD 1.0.0 (stable)

[Bug] User popout blurred

Which plugin/theme is this about?
AccountDetailsPlus v0.1.10
ZeresPluginLibrary v1.2.29

Describe the Bug
When I open the account details, it shows up a bit blurred.

To Reproduce

  1. Set your zoom level to 90% (I use discord like this)
  2. Open your account details popup as you usually do.

Expected Behavior
It should be clear as the original one (opening a normal user popup works as intended)

Screenshots
abc123

Discord Version
Stable 82590 (bf3e4f7)
BD 1.0.0 (stable)

Additional Context
The screen where I have discord is a normal 1080p, I use discord with a 90% zoom level. This bug doesn't seem to appear at 100% zoom level and I haven't tested other levels.
After a bit of tinkering with the devtools I tried removing the transform attribute and it fixed it (but it obviously goes in the wrong position), and in the screenshot you can see the before and after.
I opened this issue here, but it might have been more relevant in the BDPluginLibrary repo, as in the plugin you only seem to call a function in the library.
I suggest removing the inline style translate attribute, and fixing the top/left offset calculations to compensate for that. This should fix this issue.

Include JSDoc in example plugin

A code like this will help people that have an IDE with support for JSDoc (like VSCode). It's not perfect (as not every type is exported correctly, and better types would be appreciated too), but it definitely helps.

/**
 * @typedef {import("../../src/ui/ui").ContextMenu} ContextMenu
 * @typedef {import("../../src/ui/ui").DiscordContextMenu} DiscordContextMenu
 * @typedef {import("../../src/ui/ui").Modals} Modals
 * @typedef {import("../../src/ui/ui").Popouts} Popouts
 * @typedef {import("../../src/ui/ui").ErrorBoundary} ErrorBoundary
 * @typedef {import("../../src/ui/ui").Tooltip} Tooltip
 * @typedef {import("../../src/ui/ui").Toasts} Toasts
 * @typedef {import("../../src/ui/settings/index")} Settings
 * @typedef {import("../../src/modules/modules")} Modules
 * @typedef {import("../../src/structs/plugin")} Plugin
 */
/**
 * @typedef {Modules & {
    * DiscordContextMenu: DiscordContextMenu
    * DiscordContextMenu: DCM
    * ContextMenu: ContextMenu
    * Tooltip: Tooltip
    * Toasts: Toasts
    * Settings: Settings
    * Popouts: Popouts
    * Modals: Modals
 * }} Library
 */

/**
 * Creates the plugin class
 * @param {typeof globalThis.Plugin} Plugin 
 * @param {Library} Library 
 * @returns {typeof globalThis.Plugin}
 */
module.exports = (Plugin, Library) => {
    const {Patcher, Logger} = Library;

    return class ExamplePlugin extends Plugin {
        onStart() {
            Patcher.before(Logger, "log", (t, a) => {
                a[0] = "Patched Message: " + a[0];
            });
        }

        onStop() {
            Patcher.unpatchAll();
        }
    };
};

Some default modules in the DiscordModules object are undefined

Description
When executing

Object.entries(ZeresPluginLibrary.DiscordModules).filter(([a,b])=>b===undefined).map(([a,b])=>a)

you get a list of module names (how they are called in ZLib) that are not available anymore. In my case that is

["GuildSync", "GuildActions", "ChannelSelector", "AccountManager", "CurrentUserIdle", "InviteResolver", "IconNames", "MessageParser", "OverlayUserPopoutSettings", "OverlayUserPopoutInfo", "DNDActions", "CurrentContext", "MediaDeviceInfo", "MediaEngineInfo", "VoiceInfo", "VideoStream", "TagInfo", "Tooltips", "UserProfileModal", "PrivacySettingsModal", "CreateInviteModal", "Avatar", "EmojiPicker", "ColorPicker"]

Weirdly when doing the same thing on ZLibrary instead of ZeresPluginLibrary ContextMenuItems is undefined too. I am not sure if that could be a caching issue and this exact module got fixed with the last library update and I still get the old version of the remote library. This might not be the case but I consider this a possible explanation. (At least if you still update the remote library version even though I already is deprecated for quite some time)

I am pretty sure that not all of the modules still exist but sure there are some that do exist. For example I am using the GuildActions.requestMembers function in one of my plugins and there still is a module with a requestMembers function that very much looks like it could have been the GuildActions module but the markGuildAsRead function the library is using to find the module does not exist anymore.
Currently I only know of that one module which still exists but I might try to find other modules too even though I currently don't know what other functions the modules had to check if they still exist.

Edit: I actually know of two modules, I just remembered that I was using the AccountManager module to get the account token in my plugin that would never become official and that function also still exists.

Versions
Stable 55865 (4f90d73)
Host 0.0.10
Linux 64-Bit (5.4.13-201.Fc31.X86_64)
BandagedBD 0.2.24 By Zerebos

Impossible to create ContextMenu: contextItems[i].getElement is not a function

When adding MenuItems to a ContextMenu.Menu, following error is thrown: contextItems[i].getElement is not a function

My code:

new ContextMenu.Menu(true)
          .addItems([
            new ContextMenu.MenuItem("test", {
              "danger": false,
              "callback": () => Logger.log("test works")
            }),
            new ContextMenu.MenuItem("test danger", {
              "danger": true,
              "callback": () => Logger.log("danger works")
            })])

Same thing when adding an ItemGroup before:

new ContextMenu.Menu(true)
          .addGroup(new ContextMenu.ItemGroup().addItems([
            new ContextMenu.MenuItem("test", {
              "danger": false,
              "callback": () => Logger.log("test works")
            }),
            new ContextMenu.MenuItem("test danger", {
              "danger": true,
              "callback": () => Logger.log("danger works")
            })
          ]));

Are there any known workarounds?

Discord Changes require some actions

Discord updated their ConfirmModal component and moved the danger prop to a new confirmButtonColor prop. Currently this means plugins are not able to change the button color from danger to anything.


Screenshot of discord's new prop. This is in the new DiscordModules.ConfirmationModal component.

image

Tooltip throws errors on show/hide events

Whenever a tooltip is supposed to show or hide, whether it be by running show or hide manually or by hovering over the element, it throws errors similar to the one below.

78a2fdff3c1a65bcf9f0.js:16 Uncaught TypeError: Cannot read property 'show' of undefined
    at Tooltip.show (C:\Users\XYZ\AppData\Roaming\BetterDiscord\plugins\0PluginLibrary.plugin.js:8990)
    at HTMLDivElement.<anonymous> (C:\Users\XYZ\AppData\Roaming\BetterDiscord\plugins\0PluginLibrary.plugin.js:8946)
    at HTMLDivElement.r (78a2fdff3c1a65bcf9f0.js:16)

BetterDiscord Crashing

I've received an update notification, but everytime I click on it. BetterDiscord crashes.

ZLibrary.PluginUtilities.loadSettings converting arrays to objects

When I declare an object

o = {
    "key1": [1,2,3,4],
    "key2": ["a","b","c","d"]
};

and then save the settings

ZLibrary.PluginUtilities.saveSettings("foo", o);

The settings are correctly saved as arrays in the foo.config.js. But when I then load the settings

o = ZLibrary.PluginUtilities.loadSettings("foo");

the arrays suddenly got converted to objects

{
    "key1": {0:1,1:2,2:3,3:4},
    "key2": {0:"a",1:"b",2:"c",3:"d"}
}

The same problem exists for loadData.

Version, Name, Description, Author, and UpdateURL from Plugin Metadata

You probably have already thought about this yourself, I expect you would have: It would be nice to have the metadata in one place and preferably keep it to the metadata comment.

Like a plugin may have the following metadata comment:

/**
* @name MyPlugin
* @displayName My Plugin - I don't think this actually used by BD but I see it in a bunch of plugins
* @description A plugin that does things.
* @author Me
* @authorId <id>
* @version 1.0.0
* @invite <invite>
* @source https://github.com/[...]
* @updateUrl https://raw.githubusercontent.com/[...]
*/

But for update checking to work it needs to also pass the proper config when building the ZLibrary plugin.

const config = {
    info: {
        name: "MyPlugin",
        version: "1.0.0",
        github_raw: "https://raw.githubusercontent.com/[...]"
    },
    ...
};

This is assuming you explicitly remove the getAuthor and getDescription function from using something like, otherwise the plugin will not load.

this.getAuthor = null;
this.getDescription = null;

I don't know if you plan to deprecate update checking anyway and replace it with update checking using the store. Either way not having to specify the metadata like author, description, and name in code would be nice even if it you end up removing update checking.
That would mean only adding the corresponding methods if the plugin supplies them as a config but or removing the functions if they don't (same same).

Plugin make discord crash when starting

I get this error when I try to run my discord for the Zere's Plugin library installed. If I removed it all work fine but almost the half of my plugins can't work anymore.

image

Settings.Slider renders a value of 10, ignoring actual value

On any instance of Settings.Slider, when rendering the slider, the current setting is ignored, and the settings panel opens with all slider values appearing to be set to 10.

ExamplePlugin shows this whenever you open its settings, even after you change the values:
image

If you set a max value lower than 10, no draggable element is displayed:
image

Dragging the slider around does in fact change the value in the config file. The value then remains at the setting you applied, even after reopening the settings where it appears to be set to 10, until you drag the bar again.

What's that ?

I searched a bit into ZeresPluginLibrary.js, and I found this:
image

Isn't it a bit dangerous, as the library bypass any restrictions inserted by bdd (https://github.com/rauenzi/BetterDiscordApp/blob/master/src/modules/v2.js#L27) by using its own webpack modules ? There are only sensitive infos inside, it can be used as a one liner by malicious plugins.
image
ZeresPluginLibrary doesn't even use it, isn't it better to remove it and use UserStore instead ?

ExamplePlugin doesn't work

I'm trying to create a plugin that uses the Dispatcher, but I have no idea how, since copying the ExamplePlugin directly literally doesn't work. I just get a pop-up that it couldn't be compiled, and everything else I have tried doesn't work either.

Forced downgrade of ZeresPluginLibrary to version 1.0.2 on startup

When i noticed there's an update to version 1.0.4, so i decided to update it now. then the changelog for version 1.0.4 shows up. when i closed out on the first changelog, the second one appears but only time for the latest version which it's version 1.1.0 then i closed out that changelog then went ahead and updated once more and the same changelog for 1.1.0 from before shows up then closed it out again.

after all of the updating on that one plugin alone, i decided to restart Discord and see if it's going to keep ZeresPluginLibrary up-to-date, but after it finished loading it went back to version 1.0.2. which of course it's gonna repeat the new plugin update notification for ZeresPluginLibrary over and over every time if Discord is either restarted or booted on startup until there is a way to fix this issue for good.

Discord crashes whenever i put in the plugin library

Hey so I've downloaded the latest file of Zeres plugin library and every time I open discord and it loads Zeres plugin library it crashes discord I've checked with all other plugins its just Zeres nothing else happens besides discord crashing every time i reload it, don't really got any info besides that.

Thanks.

Will not stop crashing.

Every time i try to install the new update betterdiscord crashes discord and i have to reinstall betterdiscord to discord, it's pretty annoying. If it's a problem with the plugin library it should be looked at but if it's a problem with betterdiscord then, not much you can do i suppose. I tried running repairs and reinstalling BD multiple times, didn't do anything.

[Q] is it harmful??

whenever i try to download it says this file can harm your computer....is it actually harmful??

Suspected bug with Settings.Dropdown

It looks like the error is occurring when a callback is passed to Dropdown. I could be wrong

Traceback: https://cdn.discordapp.com/attachments/334930809289179137/765855830562045952/unknown.png

Relevant code:

getSettingsPanel() {
              const statuses: Array<object> = [
                { label: "Online", value: "online" },
                { label: "Idle", value: "idle" },
                { label: "Invisible", value: "invisible" },
                { label: "Do Not Disturb", value: "dnd" },
              ];
              return Settings.SettingPanel.build(
                this.save_settings.bind(this),
                // this group is for selecting `targets`
                new Settings.SettingGroup("Target Processes", {
                  callback: this.save_settings.bind(this),
                }).append(...this.button_set()),
                // this group is for selecting which statuses are set when running/not running targets
                new Settings.SettingGroup("Statuses").append(
                  new Settings.Dropdown(
                    "Active status",
                    "The status to set when one of the targets is running",
                    this.settings.active_status,
                    statuses,
                    (new_status: string) =>
                      (this.settings.active_status = new_status)
                  ),
                  new Settings.Dropdown(
                    "Inactive status",
                    "The status to set when none of the targets are running",
                    this.settings.inactive_status,
                    (new_status: string) =>
                      (this.settings.inactive_status = new_status)
                  ),
                  // these are needed because the bottommost options were getting cut off the screen
                  document.createElement("br"),
                  document.createElement("br"),
                  document.createElement("br"),
                  
                )
              );
            }

            async save_settings(): Promise<void> {
              Bapi.saveData("CodingDND", "settings", this.settings);
            }

Problem with Settings.Switch in 0PluginLibrary.plugin.js/ZLibrary.js

Hi. Recently I started to have a problem with Settings.Switch in 0PluginLibrary/ZLibrary (tested both).

When trying to run code:

var { Settings } = ZeresPluginLibrary;
var test = document.createElement('div');
new Settings.SettingGroup('test', { shown:true }).appendTo(test).append(new Settings.Switch('test', 'test', true, (e)=>console.log(e)));
document.//AnyElement//.append(test);

Error occurs:
[DOMObserver] Error in observer callback
Error: Minified React error #130;

When trying to run code:

var { Settings } = ZeresPluginLibrary;
var test = document.createElement('div');
new Settings.SettingGroup('test', { shown:true }).appendTo(test).append(new Settings.Textbox('test', 'test', 'test', (e)=>console.log(e)));
document.//AnyElement//.append(test);

Error doesn't occur.

Similar behaviour occurs when trying to create Switch in getSettingsPanel() section.

I'm getting this error on Windows 10 in Discord version 308 with EnhancedDiscord installed and BetterDiscord plugins support enabled. This error did not occur earlier, it started to appear a few days ago. There is also a suspicion that along with that error observerCallback is now performing worse with large amount of emoji (or other DOM elements) when opening emoji panel (I'm judging by Performance debug record which reports that method in the line 6009 of 0PluginLibrary is causing a huge load)

toString() error

This error prevents some plugins from loading:

rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:3549 Uncaught RangeError: toString() radix argument must be between 2 and 36 at Number.toString (<anonymous>) at rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:3549 at Function.getModule (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:3604) at Function.getByString (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:3738) at Module../src/ui/contextmenu/itemgroup.js (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:7018) at __webpack_require__ (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21) at Module../src/ui/discordcontextmenu.js (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:7487) at __webpack_require__ (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21) at Module../src/modules/pluginutilities.js (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:2179) at __webpack_require__ (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21) at Module../src/modules/pluginupdater.js (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:1902) at __webpack_require__ (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21) at Module../src/structs/plugin.js (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:6127) at __webpack_require__ (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21) at Module../src/structs/structs.js (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:6422) at __webpack_require__ (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21) at Module../src/modules/domtools.js (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:723) at __webpack_require__ (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21) at Module../src/modules/modules.js (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:1583) at __webpack_require__ (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21) at Module../src/remote.js (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:3798) at __webpack_require__ (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21) at rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:85 at rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:88

Crash

Omg please can you fix this.
I literally removed all plugins from my plugins folder and STILL it says that ZeresPluginLib is being loaded.
please where is it?!?!

ZeresPluginLibrary crashing BD

A new update was released for ZeresPluginLibrary, I go to install it, Discord restarts and I get an error message saying "BetterDiscord seems to have crashed your Discord client" or something like that.
image

ZLibrary: Uncaught RangeError: toString() radix argument must be between 2 and 36

rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:3549 Uncaught RangeError: toString() radix argument must be between 2 and 36
    at Number.toString (<anonymous>)
    at rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:3549
    at Function.getModule (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:3604)
    at Function.getByString (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:3738)
    at Module../src/ui/contextmenu/itemgroup.js (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:7018)
    at __webpack_require__ (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21)
    at Module../src/ui/discordcontextmenu.js (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:7487)
    at __webpack_require__ (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21)
    at Module../src/modules/pluginutilities.js (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:2179)
    at __webpack_require__ (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21)
    at Module../src/modules/pluginupdater.js (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:1902)
    at __webpack_require__ (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21)
    at Module../src/structs/plugin.js (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:6127)
    at __webpack_require__ (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21)
    at Module../src/structs/structs.js (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:6422)
    at __webpack_require__ (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21)
    at Module../src/modules/domtools.js (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:723)
    at __webpack_require__ (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21)
    at Module../src/modules/modules.js (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:1583)
    at __webpack_require__ (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21)
    at Module../src/remote.js (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:3798)
    at __webpack_require__ (rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21)
    at rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:85
    at rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:88
(anonymous) @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:3549
getModule @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:3604
getByString @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:3738
./src/ui/contextmenu/itemgroup.js @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:7018
__webpack_require__ @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21
./src/ui/discordcontextmenu.js @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:7487
__webpack_require__ @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21
./src/modules/pluginutilities.js @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:2179
__webpack_require__ @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21
./src/modules/pluginupdater.js @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:1902
__webpack_require__ @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21
./src/structs/plugin.js @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:6127
__webpack_require__ @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21
./src/structs/structs.js @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:6422
__webpack_require__ @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21
./src/modules/domtools.js @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:723
__webpack_require__ @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21
./src/modules/modules.js @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:1583
__webpack_require__ @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21
./src/remote.js @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:3798
__webpack_require__ @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:21
(anonymous) @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:85
(anonymous) @ rauenzi.github.io/BDPluginLibrary/release/ZLibrary.js:88

Error upon startup
Canary 65868 (492232c)
BBD 0.3.5
Host 0.0.272
Injector 0.6.2
Windows 10 64-Bit (10.0.19041)

Crash

The latest update pushed is immediately crashing the discord whenever i click the update button

Popouts.showUserPopout causes crashing

A recent update seems to have changed how the DiscordModules.PopoutOpener.openPopout method works. As a result a couple of plugins that use Popouts.showUserPopout to crash now. This includes RoleMembers (to name one of yours) and TypingUsersAvatars and probably a couple of others. (nevermind this I was probably just calling it wrong)
WebpackModules.getByDisplayName("ConnectedUserPopout") so by extension DiscordModules.UserPopout is undefined which is what causes the crash in the end.

rauenzi/BetterDiscordAddons#426
QWERTxD/BetterDiscordPlugins#50

How do I get Message's React Component?

I notice that currently when I do Object.keys(ZLibrary.DiscordClasses.Messages) it return []

is there any alternative way to Pathcer.before Message component sent in discord?

couldn't be reached

I can't download this it says this
This site can’t be reachedThe connection was reset.
Try:

Checking the connection
Checking the proxy and the firewall
Running Windows Network Diagnostics
ERR_CONNECTION_RESET

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.