mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-20 20:07:03 -04:00
RemixMe: Balloons
This commit is contained in:
parent
a72ef38696
commit
88a2131eb2
5 changed files with 215 additions and 212 deletions
390
README.md
390
README.md
|
@ -15,207 +15,207 @@ You can join our [discord server](https://discord.gg/5Xh2W87egW) for commits, ch
|
||||||
|
|
||||||
### All Platforms
|
### All Platforms
|
||||||
|
|
||||||
- AllCallTimers by MaxHerbold & D3SOX
|
- AllCallTimers by MaxHerbold & D3SOX
|
||||||
- AltKrispSwitch by newwares
|
- AltKrispSwitch by newwares
|
||||||
- AlwaysExpandProfile by thororen
|
- AlwaysExpandProfile by thororen
|
||||||
- AmITyping by MrDiamond
|
- AmITyping by MrDiamond
|
||||||
- Anammox by Kyuuhachi
|
- Anammox by Kyuuhachi
|
||||||
- AudiobookShelfRPC by vMohammad
|
- AudiobookShelfRPC by vMohammad
|
||||||
- AtSomeone by Joona
|
- AtSomeone by Joona
|
||||||
- BannersEverywhere by ImLvna & AutumnVN
|
- BannersEverywhere by ImLvna & AutumnVN
|
||||||
- BetterActivities by D3SOX, Arjix, AutumnVN
|
- BetterActivities by D3SOX, Arjix, AutumnVN
|
||||||
- BetterAudioPlayer by Creations
|
- BetterAudioPlayer by Creations
|
||||||
- BetterBanReasons by Inbestigator
|
- BetterBanReasons by Inbestigator
|
||||||
- BetterBlockedUsers by TheArmagan
|
- BetterBlockedUsers by TheArmagan
|
||||||
- BetterInvites by iamme
|
- BetterInvites by iamme
|
||||||
- BetterPlusReacts by Joona
|
- BetterPlusReacts by Joona
|
||||||
- BetterQuickReact by Ven & Sqaaakoi
|
- BetterQuickReact by Ven & Sqaaakoi
|
||||||
- BlockKeywords by catcraft
|
- BlockKeywords by catcraft
|
||||||
- BlockKrisp by D3SOX
|
- BlockKrisp by D3SOX
|
||||||
- BypassPinPrompt by thororen
|
- BypassPinPrompt by thororen
|
||||||
- BypassStatus by Inbestigator & thororen
|
- BypassStatus by Inbestigator & thororen
|
||||||
- ChannelBadges by Creations
|
- ChannelBadges by Creations
|
||||||
- ChannelTabs by TheSun, TheKodeToad, keifufu, Nickyux
|
- ChannelTabs by TheSun, TheKodeToad, keifufu, Nickyux
|
||||||
- CharacterCounter by Creations & Panniku
|
- CharacterCounter by Creations & Panniku
|
||||||
- CleanChannelName by AutumnVN
|
- CleanChannelName by AutumnVN
|
||||||
- ClientSideBlock by Samwich
|
- ClientSideBlock by Samwich
|
||||||
- CommandPalette by Ethan
|
- CommandPalette by Ethan
|
||||||
- CopyStickerLinks by Byeoon
|
- CopyStickerLinks by Byeoon
|
||||||
- CopyUserMention by Cortex & castdrian
|
- CopyUserMention by Cortex & castdrian
|
||||||
- CustomFolderIcons by sadan
|
- CustomFolderIcons by sadan
|
||||||
- CustomSounds by TheKodeToad & SpikeHD
|
- CustomSounds by TheKodeToad & SpikeHD
|
||||||
- CustomTimestamps by Rini, nvhrr, Suffocate, Obsidian
|
- CustomTimestamps by Rini, nvhrr, Suffocate, Obsidian
|
||||||
- CustomUserColors by mochienya
|
- CustomUserColors by mochienya
|
||||||
- CuteAnimeBoys by ShadyGoat
|
- CuteAnimeBoys by ShadyGoat
|
||||||
- CuteNekos by echo
|
- CuteNekos by echo
|
||||||
- CutePats by thororen
|
- CutePats by thororen
|
||||||
- DecodeBase64 by ThePirateStoner
|
- DecodeBase64 by ThePirateStoner
|
||||||
- Demonstration by Samwich
|
- Demonstration by Samwich
|
||||||
- DisableAnimations by S€th
|
- DisableAnimations by S€th
|
||||||
- DisableCameras by Joona
|
- DisableCameras by Joona
|
||||||
- DontFilterMe by Samwich
|
- DontFilterMe by Samwich
|
||||||
- Encryptcord by Inbestigator
|
- Encryptcord by Inbestigator
|
||||||
- EquicordHelper by thororen & nyx
|
- EquicordHelper by thororen & nyx
|
||||||
- Equissant by SomeAspy & thororen
|
- Equissant by SomeAspy & thororen
|
||||||
- ExportContacts by dat_insanity
|
- ExportContacts by dat_insanity
|
||||||
- FakeProfileThemesAndEffects by ryan
|
- FakeProfileThemesAndEffects by ryan
|
||||||
- CopyProfileColors by Crxa
|
- CopyProfileColors by Crxa
|
||||||
- FastDeleteChannels by thororen
|
- FastDeleteChannels by thororen
|
||||||
- FindReply by newwares
|
- FindReply by newwares
|
||||||
- FixFileExtensions by thororen
|
- FixFileExtensions by thororen
|
||||||
- FollowVoiceUser by TheArmagan
|
- FollowVoiceUser by TheArmagan
|
||||||
- FontLoader by vmohammad
|
- FontLoader by vmohammad
|
||||||
- ForwardAnywhere by thororen
|
- ForwardAnywhere by thororen
|
||||||
- Freaky by nyx
|
- Freaky by nyx
|
||||||
- FrequentQuickSwitcher by Samwich
|
- FrequentQuickSwitcher by Samwich
|
||||||
- FriendCodes by HypedDomi
|
- FriendCodes by HypedDomi
|
||||||
- FriendshipRanks by Samwich
|
- FriendshipRanks by Samwich
|
||||||
- FriendTags by Samwich
|
- FriendTags by Samwich
|
||||||
- FullVcPfp by mochie
|
- FullVcPfp by mochie
|
||||||
- GensokyoRadioRPC by RyanCaoDev & Prince527
|
- GensokyoRadioRPC by RyanCaoDev & Prince527
|
||||||
- GifCollections by Aria & Creations
|
- GifCollections by Aria & Creations
|
||||||
- GifRoulette by Samwich
|
- GifRoulette by Samwich
|
||||||
- GitHubRepos by talhakf
|
- GitHubRepos by talhakf
|
||||||
- Glide by Samwich
|
- Glide by Samwich
|
||||||
- GlobalBadges by HypedDomi & Hosted by Wolfie
|
- GlobalBadges by HypedDomi & Hosted by Wolfie
|
||||||
- GoogleThat by Samwich
|
- GoogleThat by Samwich
|
||||||
- GuildPickerDumper by Cortex, Samwich, Synth, thororen
|
- GuildPickerDumper by Cortex, Samwich, Synth, thororen
|
||||||
- HideChatButtons by iamme
|
- HideChatButtons by iamme
|
||||||
- HideServers by bepvte
|
- HideServers by bepvte
|
||||||
- HolyNotes by Wolfie
|
- HolyNotes by Wolfie
|
||||||
- HomeTyping by Samwich
|
- HomeTyping by Samwich
|
||||||
- HopOn by ImLvna
|
- HopOn by ImLvna
|
||||||
- Husk by nin0dev
|
- Husk by nin0dev
|
||||||
- IconViewer by iamme
|
- IconViewer by iamme
|
||||||
- Identity by Samwich
|
- Identity by Samwich
|
||||||
- IgnoreCalls by TheArmagan
|
- IgnoreCalls by TheArmagan
|
||||||
- IgnoreTerms by D3SOX
|
- IgnoreTerms by D3SOX
|
||||||
- ImagePreview by Creations
|
- ImagePreview by Creations
|
||||||
- ImgToGif by zyqunix
|
- ImgToGif by zyqunix
|
||||||
- Ingtoninator by zyqunix
|
- Ingtoninator by zyqunix
|
||||||
- InRole by nin0dev
|
- InRole by nin0dev
|
||||||
- InstantScreenshare by HAHALOSAH & thororen
|
- InstantScreenshare by HAHALOSAH & thororen
|
||||||
- IRememberYou by zoodogood
|
- IRememberYou by zoodogood
|
||||||
- JellyfinRichPresence by vMohammad
|
- JellyfinRichPresence by vMohammad
|
||||||
- Jumpscare by Surgedevs
|
- Jumpscare by Surgedevs
|
||||||
- JumpToStart by Samwich
|
- JumpToStart by Samwich
|
||||||
- KeyboardSounds by HypedDomi
|
- KeyboardSounds by HypedDomi
|
||||||
- KeywordNotify by camila314 & x3rt
|
- KeywordNotify by camila314 & x3rt
|
||||||
- LastActive by Crxa
|
- LastActive by Crxa
|
||||||
- LimitMiddleClickPaste by no dev listed
|
- LimitMiddleClickPaste by no dev listed
|
||||||
- LoginWithQR by nexpid
|
- LoginWithQR by nexpid
|
||||||
- MediaPlaybackSpeed by D3SOX
|
- MediaPlaybackSpeed by D3SOX
|
||||||
- Meow by Samwich
|
- Meow by Samwich
|
||||||
- MessageBurst by port
|
- MessageBurst by port
|
||||||
- MessageColors by Hen
|
- MessageColors by Hen
|
||||||
- MessageFetchTimer by GroupXyz
|
- MessageFetchTimer by GroupXyz
|
||||||
- MessageLinkTooltip by Kyuuhachi
|
- MessageLinkTooltip by Kyuuhachi
|
||||||
- MessageLoggerEnhanced by Aria
|
- MessageLoggerEnhanced by Aria
|
||||||
- MessageTranslate by Samwich
|
- MessageTranslate by Samwich
|
||||||
- ModalFade by Kyuuhachi
|
- ModalFade by Kyuuhachi
|
||||||
- MoreCommands by Arjix, echo, Samu
|
- MoreCommands by Arjix, echo, Samu
|
||||||
- MoreKaomoji by JacobTm & voidbbg
|
- MoreKaomoji by JacobTm & voidbbg
|
||||||
- MoreStickers by Leko & Arjix
|
- MoreStickers by Leko & Arjix
|
||||||
- MoreUserTags by Cyn, TheSun, RyanCaoDev, LordElias, AutumnVN, hen
|
- MoreUserTags by Cyn, TheSun, RyanCaoDev, LordElias, AutumnVN, hen
|
||||||
- Morse by zyqunix
|
- Morse by zyqunix
|
||||||
- Moyai by Megu & Nuckyz
|
- Moyai by Megu & Nuckyz
|
||||||
- NeverPausePreviews by vappstar
|
- NeverPausePreviews by vappstar
|
||||||
- NewPluginsManager by Sqaaakoi
|
- NewPluginsManager by Sqaaakoi
|
||||||
- NoAppsAllowed by meowabyte
|
- NoAppsAllowed by meowabyte
|
||||||
- NoBulletPoints by Samwich
|
- NoBulletPoints by Samwich
|
||||||
- NoDeleteSafety by Samwich
|
- NoDeleteSafety by Samwich
|
||||||
- NoMirroredCamera by Nyx
|
- NoMirroredCamera by Nyx
|
||||||
- NoModalAnimation by AutumnVN
|
- NoModalAnimation by AutumnVN
|
||||||
- NoNitroUpsell by thororen
|
- NoNitroUpsell by thororen
|
||||||
- NoOnboarding by omaw & Glitch
|
- NoOnboarding by omaw & Glitch
|
||||||
- NoRoleHeaders by Samwich
|
- NoRoleHeaders by Samwich
|
||||||
- NotificationTitle by Kyuuhachi
|
- NotificationTitle by Kyuuhachi
|
||||||
- PartyMode by UwUDev
|
- PartyMode by UwUDev
|
||||||
- PingNotifications by smuki
|
- PingNotifications by smuki
|
||||||
- PinIcon by iamme
|
- PinIcon by iamme
|
||||||
- PlatformSpoofer by Drag
|
- PlatformSpoofer by Drag
|
||||||
- PolishWording by Samwich
|
- PolishWording by Samwich
|
||||||
- PurgeMessages by bhop & nyx
|
- PurgeMessages by bhop & nyx
|
||||||
- QuestCompleter by Amia
|
- QuestCompleter by Amia
|
||||||
- QuestionMarkReplacement by nyx
|
- QuestionMarkReplacement by nyx
|
||||||
- Quoter by Samwich
|
- Quoter by Samwich
|
||||||
- RandomVoice by xijexo, omaw, thororen
|
- RandomVoice by xijexo, omaw, thororen
|
||||||
- Remix by MrDiamond
|
- Remix by MrDiamond
|
||||||
- RemixMe by meowabyte
|
- RemixMe by meowabyte
|
||||||
- RepeatMessage by Tolgchu
|
- RepeatMessage by Tolgchu
|
||||||
- ReplyPingControl by ant0n & MrDiamond
|
- ReplyPingControl by ant0n & MrDiamond
|
||||||
- RPCEditor by Nyako & nin0dev
|
- RPCEditor by Nyako & nin0dev
|
||||||
- RPCStats by Samwich
|
- RPCStats by Samwich
|
||||||
- SearchFix by Jaxx
|
- SearchFix by Jaxx
|
||||||
- SekaiStickers by MaiKokain
|
- SekaiStickers by MaiKokain
|
||||||
- ServerSearch by camila314
|
- ServerSearch by camila314
|
||||||
- ShowBadgesInChat by Inbestigator & KrystalSkull
|
- ShowBadgesInChat by Inbestigator & KrystalSkull
|
||||||
- SidebarChat by Joona
|
- SidebarChat by Joona
|
||||||
- Signature by Ven, Rini, ImBanana, KrystalSkull
|
- Signature by Ven, Rini, ImBanana, KrystalSkull
|
||||||
- Slap by Korbo
|
- Slap by Korbo
|
||||||
- Soggy by sliwka
|
- Soggy by sliwka
|
||||||
- SoundBoardLogger by Moxxie, fres, echo, maintained by thororen
|
- SoundBoardLogger by Moxxie, fres, echo, maintained by thororen
|
||||||
- SplitLargeMessages by Reycko
|
- SplitLargeMessages by Reycko
|
||||||
- SpotifyActivityToggle by thororen
|
- SpotifyActivityToggle by thororen
|
||||||
- SpotifyLyrics by Joona
|
- SpotifyLyrics by Joona
|
||||||
- StatsfmPresence by Crxa
|
- StatsfmPresence by Crxa
|
||||||
- StatusPresets by iamme
|
- StatusPresets by iamme
|
||||||
- SteamStatusSync by niko
|
- SteamStatusSync by niko
|
||||||
- StickerBlocker by Samwich
|
- StickerBlocker by Samwich
|
||||||
- StreamingCodecDisabler by davidkra230
|
- StreamingCodecDisabler by davidkra230
|
||||||
- TalkInReverse by Tolgchu
|
- TalkInReverse by Tolgchu
|
||||||
- TeX by Kyuuhachi
|
- TeX by Kyuuhachi
|
||||||
- TextToSpeech by Samwich
|
- TextToSpeech by Samwich
|
||||||
- ThemeLibrary by Fafa
|
- ThemeLibrary by Fafa
|
||||||
- TidalEmbeds by vmohammad
|
- TidalEmbeds by vmohammad
|
||||||
- Timezones by Aria
|
- Timezones by Aria
|
||||||
- Title by Kyuuhachi
|
- Title by Kyuuhachi
|
||||||
- ToastNotifications by Skully, Ethan, Buzzy
|
- ToastNotifications by Skully, Ethan, Buzzy
|
||||||
- ToggleVideoBind by mochie
|
- ToggleVideoBind by mochie
|
||||||
- TosuRPC by AutumnVN
|
- TosuRPC by AutumnVN
|
||||||
- Translate+ by Prince527 & Ven
|
- Translate+ by Prince527 & Ven
|
||||||
- UnitConverter by sadan
|
- UnitConverter by sadan
|
||||||
- UnlimitedAccounts by thororen
|
- UnlimitedAccounts by thororen
|
||||||
- UnreadCountBadge by Joona
|
- UnreadCountBadge by Joona
|
||||||
- UserPFP by nexpid & thororen
|
- UserPFP by nexpid & thororen
|
||||||
- UwUifier by echo
|
- UwUifier by echo
|
||||||
- VCNarratorCustom by Loukios, ported by example-git
|
- VCNarratorCustom by Loukios, ported by example-git
|
||||||
- VCPanelSettings by nin0dev
|
- VCPanelSettings by nin0dev
|
||||||
- VCSupport by thororen
|
- VCSupport by thororen
|
||||||
- VencordRPC by AutumnVN
|
- VencordRPC by AutumnVN
|
||||||
- VideoSpeed by Samwich
|
- VideoSpeed by Samwich
|
||||||
- ViewRawVariant by Kyuuhachi
|
- ViewRawVariant by Kyuuhachi
|
||||||
- VoiceChatUtilities by D3SOX
|
- VoiceChatUtilities by D3SOX
|
||||||
- VoiceJoinMessages by Sqaaakoi & maintained by thororen
|
- VoiceJoinMessages by Sqaaakoi & maintained by thororen
|
||||||
- WallpaperFree by Joona
|
- WallpaperFree by Joona
|
||||||
- WebpackTarball by Kyuuhachi
|
- WebpackTarball by Kyuuhachi
|
||||||
- WhitelistedEmojis by Creations
|
- WhitelistedEmojis by Creations
|
||||||
- WhosWatching by fres
|
- WhosWatching by fres
|
||||||
- WigglyText by nexpid
|
- WigglyText by nexpid
|
||||||
- Woof by Samwich
|
- Woof by Samwich
|
||||||
- WriteUpperCase by Samwich & KrystalSkull
|
- WriteUpperCase by Samwich & KrystalSkull
|
||||||
- YoutubeDescription by arHSM
|
- YoutubeDescription by arHSM
|
||||||
|
|
||||||
### Web Only
|
### Web Only
|
||||||
|
|
||||||
- None At This Time
|
- None At This Time
|
||||||
|
|
||||||
### Vesktop & Equibop Only
|
### Vesktop & Equibop Only
|
||||||
|
|
||||||
- ScreenRecorder by AutumnVN
|
- ScreenRecorder by AutumnVN
|
||||||
|
|
||||||
### Discord Desktop Only
|
### Discord Desktop Only
|
||||||
|
|
||||||
- ClipsEnhancements by niko
|
- ClipsEnhancements by niko
|
||||||
- MediaDownloader by Colorman
|
- MediaDownloader by Colorman
|
||||||
- NoRPC by Cyn
|
- NoRPC by Cyn
|
||||||
- StatusWhilePlaying by thororen
|
- StatusWhilePlaying by thororen
|
||||||
|
|
||||||
### Equicord Devbuilds Only
|
### Equicord Devbuilds Only
|
||||||
|
|
||||||
- FurudoSpeak by example-git
|
- FurudoSpeak by example-git
|
||||||
- Shakespearean by vmohammad
|
- Shakespearean by vmohammad
|
||||||
- VoiceChannelLog by Sqaaakoi & maintained by thororen
|
- VoiceChannelLog by Sqaaakoi & maintained by thororen
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
@ -223,18 +223,18 @@ You can join our [discord server](https://discord.gg/5Xh2W87egW) for commits, ch
|
||||||
|
|
||||||
Windows
|
Windows
|
||||||
|
|
||||||
- [GUI](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl.exe)
|
- [GUI](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl.exe)
|
||||||
- [CLI](https://github.com/Equicord/Equilotl/releases/latest/download/EquilotlCli.exe)
|
- [CLI](https://github.com/Equicord/Equilotl/releases/latest/download/EquilotlCli.exe)
|
||||||
|
|
||||||
MacOS
|
MacOS
|
||||||
|
|
||||||
- [GUI](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl.MacOS.zip)
|
- [GUI](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl.MacOS.zip)
|
||||||
|
|
||||||
Linux
|
Linux
|
||||||
|
|
||||||
- [GUI-X11](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl-x11)
|
- [GUI-X11](https://github.com/Equicord/Equilotl/releases/latest/download/Equilotl-x11)
|
||||||
- [CLI](https://github.com/Equicord/Equilotl/releases/latest/download/EquilotlCli-Linux)
|
- [CLI](https://github.com/Equicord/Equilotl/releases/latest/download/EquilotlCli-Linux)
|
||||||
- [AUR](https://aur.archlinux.org/packages?O=0&K=equicord)
|
- [AUR](https://aur.archlinux.org/packages?O=0&K=equicord)
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
sh -c "$(curl -sS https://raw.githubusercontent.com/Equicord/Equicord/refs/heads/main/misc/install.sh)"
|
sh -c "$(curl -sS https://raw.githubusercontent.com/Equicord/Equicord/refs/heads/main/misc/install.sh)"
|
||||||
|
|
|
@ -38,6 +38,8 @@ export interface Upload {
|
||||||
filename: string;
|
filename: string;
|
||||||
id: string;
|
id: string;
|
||||||
isImage: boolean;
|
isImage: boolean;
|
||||||
|
isRemix?: boolean;
|
||||||
|
isThumbnail: boolean;
|
||||||
isVideo: boolean;
|
isVideo: boolean;
|
||||||
item: {
|
item: {
|
||||||
file: File;
|
file: File;
|
||||||
|
|
|
@ -4,20 +4,20 @@
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { addMessagePreSendListener, type MessageExtra, type MessageObject, type MessageSendListener, removeMessagePreSendListener } from "@api/MessageEvents";
|
import { addMessagePreSendListener, MessageSendListener, removeMessagePreSendListener } from "@api/MessageEvents";
|
||||||
import { EquicordDevs } from "@utils/constants";
|
import { EquicordDevs } from "@utils/constants";
|
||||||
import definePlugin from "@utils/types";
|
import definePlugin from "@utils/types";
|
||||||
|
|
||||||
import type { UploadWithRemix } from "./types";
|
const handleMessage: MessageSendListener = (_, __, ex) => ex.uploads && ex.uploads.forEach(att => att.isRemix = true);
|
||||||
|
|
||||||
|
|
||||||
const handleMessage: MessageSendListener = (_: string, __: MessageObject, ex: MessageExtra) =>
|
|
||||||
ex.uploads && (ex.uploads as UploadWithRemix[]).forEach(att => att.isRemix = true);
|
|
||||||
|
|
||||||
export default definePlugin({
|
export default definePlugin({
|
||||||
name: "RemixMe",
|
name: "RemixMe",
|
||||||
description: "Turns every single message with attachment to have remix tag",
|
description: "Turns every single message with attachment to have remix tag",
|
||||||
authors: [EquicordDevs.meowabyte],
|
authors: [EquicordDevs.meowabyte],
|
||||||
start: () => addMessagePreSendListener(handleMessage),
|
start() {
|
||||||
stop: () => removeMessagePreSendListener(handleMessage)
|
addMessagePreSendListener(handleMessage);
|
||||||
|
},
|
||||||
|
stop() {
|
||||||
|
removeMessagePreSendListener(handleMessage);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
/*
|
|
||||||
* Vencord, a Discord client mod
|
|
||||||
* Copyright (c) 2025 Vendicated and contributors
|
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { Upload } from "@api/MessageEvents";
|
|
||||||
|
|
||||||
export type UploadWithRemix = Upload & { isRemix?: boolean; };
|
|
|
@ -5,8 +5,10 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { NavContextMenuPatchCallback } from "@api/ContextMenu";
|
import { NavContextMenuPatchCallback } from "@api/ContextMenu";
|
||||||
|
import { addMessagePreSendListener, MessageExtra, MessageObject, MessageSendListener, removeMessagePreSendListener } from "@api/MessageEvents";
|
||||||
import { CodeBlock } from "@components/CodeBlock";
|
import { CodeBlock } from "@components/CodeBlock";
|
||||||
import ErrorBoundary from "@components/ErrorBoundary";
|
import ErrorBoundary from "@components/ErrorBoundary";
|
||||||
|
import { UploadWithRemix } from "@equicordplugins/remixMe/types";
|
||||||
import { Devs } from "@utils/constants";
|
import { Devs } from "@utils/constants";
|
||||||
import { getIntlMessage } from "@utils/discord";
|
import { getIntlMessage } from "@utils/discord";
|
||||||
import { Margins } from "@utils/margins";
|
import { Margins } from "@utils/margins";
|
||||||
|
@ -125,6 +127,8 @@ function makeContextCallback(
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const handleMessage: MessageSendListener = (_: string, __: MessageObject, ex: MessageExtra) => ex.uploads && (ex.uploads as UploadWithRemix[]).forEach(att => console.log(att));
|
||||||
|
|
||||||
export default definePlugin({
|
export default definePlugin({
|
||||||
name: "ViewRawVariant",
|
name: "ViewRawVariant",
|
||||||
description: "Copy/View raw content of any message, channel, or guild, but show in the right click menu.",
|
description: "Copy/View raw content of any message, channel, or guild, but show in the right click menu.",
|
||||||
|
@ -143,4 +147,10 @@ export default definePlugin({
|
||||||
openViewRawModal(cleanMessage(val), "Message", true),
|
openViewRawModal(cleanMessage(val), "Message", true),
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
start() {
|
||||||
|
addMessagePreSendListener(handleMessage);
|
||||||
|
},
|
||||||
|
stop() {
|
||||||
|
removeMessagePreSendListener(handleMessage);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue