Currently, if a plugin is repeatedly requested to be disabled it will be added to the disabledPlugins array multiple times. Currently this can be seen with vpc-shiki as pc-commands is added to the array again every time Discord is restarted. This PR makes sure that a plugin is loaded before it will attempt to disabled it.
Currently, if a plugin is repeatedly requested to be disabled it will be added to the
disabledPlugins
array multiple times. Currently this can be seen with vpc-shiki as pc-commands is added to the array again every time Discord is restarted. This PR makes sure that a plugin is loaded before it will attempt to disabled it.