mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-14 09:03:03 -04:00
Readme Fix
This commit is contained in:
parent
0d4cfd5e3b
commit
5e482418fd
2 changed files with 3 additions and 0 deletions
|
@ -47,6 +47,7 @@ You can join our [discord server](https://discord.gg/5Xh2W87egW) for commits, ch
|
||||||
- EquicordCSS by thororen, Panniku, Dablulite, Coolesding, MiniDiscordThemes, LuckFire, gold_me
|
- EquicordCSS by thororen, Panniku, Dablulite, Coolesding, MiniDiscordThemes, LuckFire, gold_me
|
||||||
- ExportContacts by dat_insanity
|
- ExportContacts by dat_insanity
|
||||||
- FindReply by newwares
|
- FindReply by newwares
|
||||||
|
- FixFileExtensions by thororen
|
||||||
- FrequentQuickSwitcher by Samwich
|
- FrequentQuickSwitcher by Samwich
|
||||||
- FriendshipRanks by Samwich
|
- FriendshipRanks by Samwich
|
||||||
- FriendTags by Samwich
|
- FriendTags by Samwich
|
||||||
|
|
|
@ -16,6 +16,7 @@ export default definePlugin({
|
||||||
authors: [EquicordDevs.thororen],
|
authors: [EquicordDevs.thororen],
|
||||||
description: "Fixes file extensions by renaming them to a compatible supported format if possible",
|
description: "Fixes file extensions by renaming them to a compatible supported format if possible",
|
||||||
patches: [
|
patches: [
|
||||||
|
// Taken from AnonymiseFileNames
|
||||||
{
|
{
|
||||||
find: "instantBatchUpload:",
|
find: "instantBatchUpload:",
|
||||||
predicate: () => !Settings.plugins.AnonymiseFileNames.enabled,
|
predicate: () => !Settings.plugins.AnonymiseFileNames.enabled,
|
||||||
|
@ -25,6 +26,7 @@ export default definePlugin({
|
||||||
"uploadFiles:(...args)=>(args[0].uploads.forEach(f=>f.filename=$self.fixExt(f)),$1(...args)),",
|
"uploadFiles:(...args)=>(args[0].uploads.forEach(f=>f.filename=$self.fixExt(f)),$1(...args)),",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
// Also taken from AnonymiseFileNames
|
||||||
{
|
{
|
||||||
find: 'addFilesTo:"message.attachments"',
|
find: 'addFilesTo:"message.attachments"',
|
||||||
predicate: () => !Settings.plugins.AnonymiseFileNames.enabled,
|
predicate: () => !Settings.plugins.AnonymiseFileNames.enabled,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue