Fix Vencord compatibility: Split & Upload button not appearing
Changes
- Fix Vencord patch module resolution: Replaced
Vencord.Webpack.Commondependency with directVencord.Webpack.findByProps()lookups. Common's properties are read-only getters in esbuild output, causing module resolution to silently fail. - Add ChatButtons API readiness check: Bootstrap now waits for
Vencord.Api.ChatButtons.addChatBarButtonto be available before starting the plugin. - Improve retry logic: Changed from fixed timeout list (500ms–8s) to persistent 1s interval retry with 30s max timeout, ensuring the plugin starts even on slower machines.
- Self-sufficient module finding: Plugin now finds React, FluxDispatcher, MessageStore, RestAPI, Constants, SelectedChannelStore, SnowflakeUtils, Toasts, and CloudUploader via
findByProps/find, withWebpack.Commonas fallback.
Known Issues
Split Upload button may not appear on the default Discord theme (Vencord patch only)
If the Split Upload button does not show up, apply any BetterDiscord or Vencord theme first, then re-run the patcher. After this, the upload icon will appear normally — and will remain visible even if you switch back to the default Discord theme.
Assets
FileSplitterPatcher.exe— Windows patcher (run as administrator)