Nounejm
Nounejm
DIAdiscord.js - Imagine an app
Created by Alex on 10/9/2023 in #djs-questions
new to discord.js
depends if you want slash commands
9 replies
DIAdiscord.js - Imagine an app
Created by ItsActuallyTJ on 10/5/2023 in #djs-voice
Local Audio Streams
but make sure the right path gets to the resource
10 replies
DIAdiscord.js - Imagine an app
Created by ItsActuallyTJ on 10/5/2023 in #djs-voice
Local Audio Streams
you dont have to await any of that
10 replies
DIAdiscord.js - Imagine an app
Created by Måneskin on 9/28/2023 in #djs-voice
Bot don't play audiostream (shoutcast)
https.get('url', (res) => {
let resource = createAudioResource(res)
...
})
https.get('url', (res) => {
let resource = createAudioResource(res)
...
})
4 replies
DIAdiscord.js - Imagine an app
Created by Måneskin on 9/28/2023 in #djs-voice
Bot don't play audiostream (shoutcast)
make a https request to that link, don't put it to the resource
4 replies
DIAdiscord.js - Imagine an app
Created by haiz on 9/16/2023 in #djs-voice
Script plays local files well but can't play url streams, why?
it works anyway
9 replies
DIAdiscord.js - Imagine an app
Created by nirewen on 9/17/2023 in #djs-voice
Create a "radio"
its hard to help without the actual code
3 replies
DIAdiscord.js - Imagine an app
Created by haiz on 9/16/2023 in #djs-voice
Script plays local files well but can't play url streams, why?
make sure that the content of the url is an audio or video file
9 replies
DIAdiscord.js - Imagine an app
Created by haiz on 9/16/2023 in #djs-voice
Script plays local files well but can't play url streams, why?
let player = createAudioPlayer()
connection.subscribe(player)
https.get('url', (res) => {
let resource = createAudioResource(res)
player.play(resource)
})
let player = createAudioPlayer()
connection.subscribe(player)
https.get('url', (res) => {
let resource = createAudioResource(res)
player.play(resource)
})
9 replies
DIAdiscord.js - Imagine an app
Created by ciriustar on 7/2/2023 in #djs-questions
a general question about autocomplete
6 replies
DIAdiscord.js - Imagine an app
Created by ciriustar on 7/2/2023 in #djs-questions
a general question about autocomplete
interaction.respond(arr.map((item) => ({ name: item, value: item })))
interaction.respond(arr.map((item) => ({ name: item, value: item })))
6 replies
DIAdiscord.js - Imagine an app
Created by ! GhostvOne.tv 👻🇫🇷 on 6/29/2023 in #djs-questions
ActionRowBuilder in a new thread
you can send it when replying to a message, editi g a message, sendimg message to a channel
16 replies
DIAdiscord.js - Imagine an app
Created by ! GhostvOne.tv 👻🇫🇷 on 6/29/2023 in #djs-questions
ActionRowBuilder in a new thread
you can anytime
16 replies
DIAdiscord.js - Imagine an app
Created by ! GhostvOne.tv 👻🇫🇷 on 6/29/2023 in #djs-questions
ActionRowBuilder in a new thread
you dont get how to send messages to channels?
16 replies
DIAdiscord.js - Imagine an app
Created by ! GhostvOne.tv 👻🇫🇷 on 6/29/2023 in #djs-questions
ActionRowBuilder in a new thread
16 replies
DIAdiscord.js - Imagine an app
Created by ! GhostvOne.tv 👻🇫🇷 on 6/29/2023 in #djs-questions
ActionRowBuilder in a new thread
you mean <channel>.send({ ... })?
16 replies
DIAdiscord.js - Imagine an app
Created by ! GhostvOne.tv 👻🇫🇷 on 6/29/2023 in #djs-questions
ActionRowBuilder in a new thread
16 replies
DIAdiscord.js - Imagine an app
Created by ! GhostvOne.tv 👻🇫🇷 on 6/29/2023 in #djs-questions
ActionRowBuilder in a new thread
<channel>.send({
content: 'Hello world',
components: [
new ActionRowBuilder()
.addComponents(
new ButtonBuilder()
...,
new ButtonBuilder()
...
)
]
})
<channel>.send({
content: 'Hello world',
components: [
new ActionRowBuilder()
.addComponents(
new ButtonBuilder()
...,
new ButtonBuilder()
...
)
]
})
this is how it should look like
16 replies
DIAdiscord.js - Imagine an app
Created by t3mq on 6/17/2023 in #djs-voice
TypeError: Cannot create property 'audioPlayer' on string 'study'
to me, it looks like he doesnt know where to pass what
21 replies