RichtigJoJo
RichtigJoJo
DIAdiscord.js - Imagine an app
Created by RichtigJoJo on 7/5/2023 in #djs-voice
Spotify
the bot maker
49 replies
DIAdiscord.js - Imagine an app
Created by RichtigJoJo on 7/5/2023 in #djs-voice
Spotify
but what did they use?
49 replies
DIAdiscord.js - Imagine an app
Created by RichtigJoJo on 7/5/2023 in #djs-voice
Spotify
was?
49 replies
DIAdiscord.js - Imagine an app
Created by RichtigJoJo on 7/5/2023 in #djs-voice
Spotify
but how moe works?
49 replies
DIAdiscord.js - Imagine an app
Created by RichtigJoJo on 7/2/2023 in #djs-questions
body: { error: 'invalid_client' }
thanks
17 replies
DIAdiscord.js - Imagine an app
Created by RichtigJoJo on 7/2/2023 in #djs-questions
body: { error: 'invalid_client' }
makes sense
17 replies
DIAdiscord.js - Imagine an app
Created by RichtigJoJo on 7/2/2023 in #djs-questions
body: { error: 'invalid_client' }
but how can I make a timer until a date?
17 replies
DIAdiscord.js - Imagine an app
Created by RichtigJoJo on 7/2/2023 in #djs-questions
body: { error: 'invalid_client' }
Thanks, it works
17 replies
DIAdiscord.js - Imagine an app
Created by RichtigJoJo on 7/2/2023 in #djs-questions
body: { error: 'invalid_client' }
yes
17 replies
DIAdiscord.js - Imagine an app
Created by RichtigJoJo on 7/2/2023 in #djs-questions
body: { error: 'invalid_client' }
I have a Application ID there
17 replies
DIAdiscord.js - Imagine an app
Created by RichtigJoJo on 7/2/2023 in #djs-questions
body: { error: 'invalid_client' }
17 replies
DIAdiscord.js - Imagine an app
Created by RichtigJoJo on 7/2/2023 in #djs-questions
body: { error: 'invalid_client' }
const DiscordRPC = require("discord-rpc")

const client = new DiscordRPC.Client({transport: "ipc"})


client.on("ready", () => {
client.setActivity({
details: "det",
state: "state",
startTimestamp: new Date(2023, 10, 24, 12)
})
})


client.login({clientId: "", scopes: ['rpc'], redirectUri: "http://127.0.0.1"})
const DiscordRPC = require("discord-rpc")

const client = new DiscordRPC.Client({transport: "ipc"})


client.on("ready", () => {
client.setActivity({
details: "det",
state: "state",
startTimestamp: new Date(2023, 10, 24, 12)
})
})


client.login({clientId: "", scopes: ['rpc'], redirectUri: "http://127.0.0.1"})
17 replies
DIAdiscord.js - Imagine an app
Created by RichtigJoJo on 2/16/2023 in #djs-voice
Join Channel with different Client
I want an example that shows me how to use groups
10 replies
DIAdiscord.js - Imagine an app
Created by RichtigJoJo on 2/16/2023 in #djs-voice
Join Channel with different Client
Can you give me a example?
10 replies
DIAdiscord.js - Imagine an app
Created by RichtigJoJo on 2/16/2023 in #djs-voice
Join Channel with different Client
how to use it?
10 replies
DIAdiscord.js - Imagine an app
Created by RichtigJoJo on 2/13/2023 in #djs-voice
TypeError [ERR_INVALID_ARG_TYPE]: The "body" argument must be of type function or an instance of Blo
node:events:515
throw er; // Unhandled 'error' event
^

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:388:5)
at duplexify (node:internal/streams/duplexify:199:9)
at Duplex.from (node:internal/streams/duplex:146:10)
at pipelineImpl (node:internal/streams/pipeline:258:22)
at pipeline (node:internal/streams/pipeline:150:10)
at new AudioResource (D:\Users\ME\Bot\node_modules\@discordjs\voice\dist\index.js:1781:77)
at Object.createAudioResource (D:\Users\ME\Bot\node_modules\@discordjs\voice\dist\index.js:1858:10)
at Client.<anonymous> (D:\Users\ME\Bot\events\voiceStateUpdate.js:26:37)
at Client.emit (node:events:537:28)
at VoiceStateUpdate.handle (D:\Users\ME\Bot\node_modules\discord.js\src\client\actions\VoiceStateUpdate.js:38:14)
Emitted 'error' event on Client instance at:
at emitUnhandledRejectionOrErr (node:events:393:10)
at process.processTicksAndRejections (node:internal/process/task_queues:84:21) {
code: 'ERR_INVALID_ARG_TYPE'
}
node:events:515
throw er; // Unhandled 'error' event
^

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:388:5)
at duplexify (node:internal/streams/duplexify:199:9)
at Duplex.from (node:internal/streams/duplex:146:10)
at pipelineImpl (node:internal/streams/pipeline:258:22)
at pipeline (node:internal/streams/pipeline:150:10)
at new AudioResource (D:\Users\ME\Bot\node_modules\@discordjs\voice\dist\index.js:1781:77)
at Object.createAudioResource (D:\Users\ME\Bot\node_modules\@discordjs\voice\dist\index.js:1858:10)
at Client.<anonymous> (D:\Users\ME\Bot\events\voiceStateUpdate.js:26:37)
at Client.emit (node:events:537:28)
at VoiceStateUpdate.handle (D:\Users\ME\Bot\node_modules\discord.js\src\client\actions\VoiceStateUpdate.js:38:14)
Emitted 'error' event on Client instance at:
at emitUnhandledRejectionOrErr (node:events:393:10)
at process.processTicksAndRejections (node:internal/process/task_queues:84:21) {
code: 'ERR_INVALID_ARG_TYPE'
}
16 replies
DIAdiscord.js - Imagine an app
Created by RichtigJoJo on 2/13/2023 in #djs-voice
TypeError [ERR_INVALID_ARG_TYPE]: The "body" argument must be of type function or an instance of Blo
I updated everything but it don't works
16 replies
DIAdiscord.js - Imagine an app
Created by RichtigJoJo on 2/13/2023 in #djs-voice
TypeError [ERR_INVALID_ARG_TYPE]: The "body" argument must be of type function or an instance of Blo
I'm not using fetch
16 replies
DIAdiscord.js - Imagine an app
Created by RichtigJoJo on 2/13/2023 in #djs-voice
TypeError [ERR_INVALID_ARG_TYPE]: The "body" argument must be of type function or an instance of Blo
What did I need to do?
16 replies
DIAdiscord.js - Imagine an app
Created by RichtigJoJo on 2/13/2023 in #djs-voice
TypeError [ERR_INVALID_ARG_TYPE]: The "body" argument must be of type function or an instance of Blo
let url = interaction.options.getString("url")

let connection = DiscordVoice.joinVoiceChannel({
channelId: interaction.member.voice.channelId,
guildId: interaction.guild.id,
adapterCreator: interaction.guild.voiceAdapterCreator,
})

let resource = DiscordVoice.createAudioResource(url, {
inlineVolume: true
})

let player = DiscordVoice.createAudioPlayer()
connection.subscribe(player)
player.play(resource)
let url = interaction.options.getString("url")

let connection = DiscordVoice.joinVoiceChannel({
channelId: interaction.member.voice.channelId,
guildId: interaction.guild.id,
adapterCreator: interaction.guild.voiceAdapterCreator,
})

let resource = DiscordVoice.createAudioResource(url, {
inlineVolume: true
})

let player = DiscordVoice.createAudioPlayer()
connection.subscribe(player)
player.play(resource)
16 replies