mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
feat(music): support direct media playback from Fluxer attachments and uploaded files (#24)
- Add AttachmentUtils for detecting fluxerusercontent.com URLs and chat file attachments - Support playing uploaded audio/video files directly via %play and %playnext - Add Route 3d in-process ffmpeg decoding for container formats (.mp4, .mkv, .mov, etc.) - Add native zero-re-encode passthrough for .opus, .webm, and .ogg attachments - Add 📎 Fluxer Attachment source badges and embeds across all 6 locales - Fixes #24
This commit is contained in:
1 parent
91e7812c30
commit
7c5fb1e468
14 files changed
+300
-18
No files matched your search
@@ -128,6 +128,8 @@ export class Message {
|
||||
get authorId() { return this.message.author?.id; }
|
||||
/** @returns {object|null} The guild member, if available. */
|
||||
get member() { return this.message.member ?? null; }
|
||||
/** @returns {Array|object} Raw attachments attached to this message. */
|
||||
get attachments() { return this.message.attachments ?? []; }
|
||||
/** @returns {Channel} The wrapped channel this message was sent in. */
|
||||
get channel() { return this.handler.getChannel(this.message.channelId); }
|
||||
|
||||
|
||||
Reference in new issue
Block a user