Fix PermissionViewer
This commit is contained in:
parent
535d510d3b
commit
88c6e2a0e9
@ -161,7 +161,7 @@ export default definePlugin({
|
||||
|
||||
patches: [
|
||||
{
|
||||
find: ".Messages.BOT_PROFILE_SLASH_COMMANDS",
|
||||
find: ".popularApplicationCommandIds,",
|
||||
replacement: {
|
||||
match: /showBorder:.{0,60}}\),(?<=guild:(\i),guildMember:(\i),.+?)/,
|
||||
replace: (m, guild, guildMember) => `${m}$self.UserPermissions(${guild},${guildMember}),`
|
||||
|
Loading…
Reference in New Issue
Block a user