Skip to content
This repository has been archived by the owner on Jun 27, 2021. It is now read-only.

Commit

Permalink
Fix Hidden Channels.. again
Browse files Browse the repository at this point in the history
  • Loading branch information
Juby210 authored Jan 24, 2020
1 parent f3ec428 commit 34732c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/hidden_channels.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ module.exports = new Plugin({
return egg;
});

const cancan = window.EDApi.findModule('can').can;
const cancan = window.EDApi.findModuleByProps('can', 'canUser').can;
gsr = window.EDApi.findModuleByDisplayName("FluxContainer(GuildSettingsRoles)").prototype;
window.EDApi.monkeyPatch(gsr, 'render', b => {
const egg = b.callOriginalMethod(b.methodArguments);
Expand Down

0 comments on commit 34732c6

Please sign in to comment.