UltraLion
UltraLion
DIAdiscord.js - Imagine an app
Created by UltraLion on 5/10/2024 in #djs-questions
Private message transcription problem
Hello, I have a problem that I do not understand, when I click on the "Close" button to close the session (therefore delete the text chat) it deletes the chat, it sends me a txt file in mp but the txt file is empty while I spoke in the chat in question. Can you help me solve this problem? Thank you Sorry for the few mistakes in English, it's not my strong point. my code : https://sourceb.in/CEIcFM9148
11 replies
DIAdiscord.js - Imagine an app
Created by UltraLion on 1/14/2023 in #djs-voice
Error when selecting a radio with a selectmenu
Hello to all of you, I have an error with my bot discord, when I select a radio all goes well, but after several selection I have this error that appears and I do not understand why Thonkang
TypeError [ERR_INVALID_ARG_TYPE]: The "body" argument must be of type function or an instance of Blob, ReadableStream, WritableStream, Stream, Iterable, AsyncIterable, or Promise or { readable, writable } pair. Received undefined
at new NodeError (node:internal/errors:387:5)
at duplexify (node:internal/streams/duplexify:199:9)
at Function.Duplex.from (node:internal/streams/duplex:121:10)
at pipelineImpl (node:internal/streams/pipeline:260:22)
at pipeline (node:internal/streams/pipeline:172:10)
at new AudioResource (/home/ultralion/bot-discord/radio-box/radio-box/node_modules/@discordjs/voice/dist/index.js:1849:77)
at createAudioResource (/home/ultralion/bot-discord/radio-box/radio-box/node_modules/@discordjs/voice/dist/index.js:1926:10)
at InteractionCollector.<anonymous> (/home/ultralion/bot-discord/radio-box/radio-box/commands/radio/radio-russian.js:113:18)
at InteractionCollector.emit (node:events:525:35)
at InteractionCollector.handleCollect (/home/ultralion/bot-discord/radio-box/radio-box/node_modules/discord.js/src/structures/interfaces/Collector.js:119:14) {
code: 'ERR_INVALID_ARG_TYPE'
}
TypeError [ERR_INVALID_ARG_TYPE]: The "body" argument must be of type function or an instance of Blob, ReadableStream, WritableStream, Stream, Iterable, AsyncIterable, or Promise or { readable, writable } pair. Received undefined
at new NodeError (node:internal/errors:387:5)
at duplexify (node:internal/streams/duplexify:199:9)
at Function.Duplex.from (node:internal/streams/duplex:121:10)
at pipelineImpl (node:internal/streams/pipeline:260:22)
at pipeline (node:internal/streams/pipeline:172:10)
at new AudioResource (/home/ultralion/bot-discord/radio-box/radio-box/node_modules/@discordjs/voice/dist/index.js:1849:77)
at createAudioResource (/home/ultralion/bot-discord/radio-box/radio-box/node_modules/@discordjs/voice/dist/index.js:1926:10)
at InteractionCollector.<anonymous> (/home/ultralion/bot-discord/radio-box/radio-box/commands/radio/radio-russian.js:113:18)
at InteractionCollector.emit (node:events:525:35)
at InteractionCollector.handleCollect (/home/ultralion/bot-discord/radio-box/radio-box/node_modules/discord.js/src/structures/interfaces/Collector.js:119:14) {
code: 'ERR_INVALID_ARG_TYPE'
}
6 replies
DIAdiscord.js - Imagine an app
Created by UltraLion on 11/4/2022 in #djs-voice
Problem with my radio bot
Hello to everyone! Recently I changed my vps offer for something in the same performance as my old one but for less money, the server is in ubuntu 22.04 like the old one, all is installed the same, same version of npm and nodejs. When I start my bot, it turns on but if I do the command /radio-other for example and I choose a proposed radio, the bot puts itself well in the voice room but does not play any music, which is annoying, I authorized the range 50000:65535 in udp output on my vps thinking that it could come from there but it does not change anything, I tried to reboot the server or the firewall by testing but it always does the same thing. If you have any ideas, I'm interested! Sorry for the few mistakes I made, I'm not good in English.
23 replies