fix apis
This commit is contained in:
parent
45f764ece4
commit
1ff4483ea9
2 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ export default definePlugin({
|
|||
description: "Allows you to omit either width or height when opening an image modal",
|
||||
patches: [
|
||||
{
|
||||
find: ".dimensionlessImage,",
|
||||
find: "useFullWidth:!0,shouldLink:",
|
||||
replacement: {
|
||||
// widthAndHeightPassed = w != null && w !== 0 && h == null || h === 0
|
||||
match: /(?<=\i=)(null!=\i&&0!==\i)&&(null!=\i&&0!==\i)/,
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ export default definePlugin({
|
|||
|
||||
patches: [
|
||||
{
|
||||
find: ".lostPermission)",
|
||||
find: "#{intl::GUILD_OWNER}),children:",
|
||||
replacement: [
|
||||
{
|
||||
match: /children:\[(?=.{0,300},lostPermissionTooltipText:)/,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue