PixelBlob
PixelBlob
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by PixelBlob on 12/6/2023 in #djs-questions
When replying to an interaction button press, how do I get the original interactions options?
The response does not seems to have an options object
20 replies
DIAdiscord.js - Imagine an app
Created by PixelBlob on 11/24/2023 in #djs-questions
detect embed generation
how do you detect when a message has its embed generated? like when you post a link to a website and the embed takes a while to load. I want my bot to verify that the embed links it generates embed correctly because sometimes they dont
13 replies
DIAdiscord.js - Imagine an app
Created by PixelBlob on 9/15/2023 in #djs-voice
Error [ERR_STREAM_WRITE_AFTER_END]: write after end
write after end Error [ERR_STREAM_WRITE_AFTER_END]: write after end at new NodeError (node:internal/errors:372:5) at write (node:internal/streams/writable:320:11) at Socket.Writable.write (node:internal/streams/writable:335:10) at Socket.ondata (node:internal/streams/readable:777:22) at Socket.emit (node:events:527:28) at Socket.Readable.read (node:internal/streams/readable:550:10) at Socket.read (node:net:666:39) at flow (node:internal/streams/readable:1034:34) at resume (node:internal/streams/readable:1015:3) at processTicksAndRejections (node:internal/process/task_queues:83:21) { resource: AudioResource { playStream: OggDemuxer { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 5, _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: true, _remainder: null, _head: null, _bitstream: null, [Symbol(kCapture)]: false, [Symbol(kCallback)]: [Function: bound onwrite] }, edges: [ [Object], [Object] ], metadata: null, volume: undefined, encoder: undefined, audioPlayer: AudioPlayer { _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _state: [Object], subscribers: [Array], behaviors: [Object], debug: [Function (anonymous)], [Symbol(kCapture)]: false }, playbackDuration: 158160, started: true, silencePaddingFrames: 5, silenceRemaining: -1 } }
8 replies
DIAdiscord.js - Imagine an app
Created by PixelBlob on 9/1/2023 in #djs-voice
Error [ERR_STREAM_WRITE_AFTER_END]: write after end
This appears after about 2m of playing an mp3 file I have stored locally.
let editedSong = ffmpeg({ source: `./songCache/${id}.mp3` }).toFormat('mp3').setStartTime(Math.ceil(json.payloads[0].seek_to / 1000))
resource = createAudioResource(editedSong);
let editedSong = ffmpeg({ source: `./songCache/${id}.mp3` }).toFormat('mp3').setStartTime(Math.ceil(json.payloads[0].seek_to / 1000))
resource = createAudioResource(editedSong);
14 replies
DIAdiscord.js - Imagine an app
Created by PixelBlob on 11/1/2022 in #djs-voice
Good way to get the progress of the current song?
Is there a good way or do I have to keep track of it myself?
5 replies
DIAdiscord.js - Imagine an app
Created by PixelBlob on 10/24/2022 in #djs-voice
No one else can hear my music bot lagging.
Im the only one who can hear my musicbot lagging no one else does, its hosted on the same network im using discord on if that affects anything.
15 replies