FakeNitro: Make disableEmbedPermissionCheck setting not private

main
Nuckyz 6 months ago
parent 61235ce994
commit ecf6af5884
No known key found for this signature in database
GPG Key ID: 440BF8296E1C4AD9

@ -166,10 +166,13 @@ const settings = definePluginSettings({
description: "What text the hyperlink should use. {{NAME}} will be replaced with the emoji/sticker name.",
type: OptionType.STRING,
default: "{{NAME}}"
},
disableEmbedPermissionCheck: {
description: "Whether to disable the embed permission check when sending fake emojis and stickers",
type: OptionType.BOOLEAN,
default: false
}
}).withPrivateSettings<{
disableEmbedPermissionCheck: boolean;
}>();
});
function hasPermission(channelId: string, permission: bigint) {
const channel = ChannelStore.getChannel(channelId);

Loading…
Cancel
Save