Max
Max
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by sex money feelings on 3/25/2024 in #djs-questions
How do i encrypt my token?
I like how you validate env variable types with checkEnv, nice work 👍
51 replies
DIAdiscord.js - Imagine an app
Created by sex money feelings on 3/25/2024 in #djs-questions
How do i encrypt my token?
!eval `${process.env.TOKEN.substring(0, process.env.TOKEN.length / 2)} ${process.env.TOKEN.substring(process.env.TOKEN.length / 2)}`
51 replies
DIAdiscord.js - Imagine an app
Created by sex money feelings on 3/25/2024 in #djs-questions
How do i encrypt my token?
!eval "process.env.TOKEN" :Troll: (dont have an eval command, too many fail safes need to be implemented)
51 replies
DIAdiscord.js - Imagine an app
Created by Boop on 9/2/2023 in #djs-questions
Issues with two collectors
unsure what exactly you mean but you may need to filter the interactions by message id when using the collector
5 replies
DIAdiscord.js - Imagine an app
Created by Max on 12/23/2022 in #djs-voice
Metadata for createAudioResource is null
Thank you!!
5 replies
DIAdiscord.js - Imagine an app
Created by Max on 12/23/2022 in #djs-voice
Metadata for createAudioResource is null
discord.js v13.12.0, @discordjs/voice v0.13.0, @discordjs/opus v0.8.0
const path = "song.mp3";
const resource = Voice.createAudioResource(path, {
inlineVolume: true
});
const path = "song.mp3";
const resource = Voice.createAudioResource(path, {
inlineVolume: true
});
5 replies