Asega
Asega
DIAdiscord.js - Imagine an app
Created by Asega on 6/28/2024 in #djs-questions
DJS Number Input
I know there is no number input for modals but how could I make it to where a text input could only be numbers and not let it be submitted unless it was numbers
5 replies
DIAdiscord.js - Imagine an app
Created by Asega on 11/23/2023 in #djs-voice
voiceAdapterCreator not working
can someone tell me why this is happening
adapterCreator: channel.guild.voiceAdapterCreator
^

TypeError: Cannot read properties of undefined (reading 'voiceAdapterCreator')
adapterCreator: channel.guild.voiceAdapterCreator
^

TypeError: Cannot read properties of undefined (reading 'voiceAdapterCreator')
const channel = message.member.voice.channelId
const connection = joinVoiceChannel({
channelId: channel,
guildId: channel.guild,
adapterCreator: channel.guild.voiceAdapterCreator
})
connection()
const channel = message.member.voice.channelId
const connection = joinVoiceChannel({
channelId: channel,
guildId: channel.guild,
adapterCreator: channel.guild.voiceAdapterCreator
})
connection()
DJS voice installed
12 replies
DIAdiscord.js - Imagine an app
Created by Asega on 8/10/2023 in #djs-questions
jackpot balance keeps making new data?
i do not know why but in my code it keeps making new data everytime even if it already exsists here is the code please help
2 replies
DIAdiscord.js - Imagine an app
Created by Asega on 8/9/2023 in #djs-voice
Not adding money owed when they win
2 replies
DIAdiscord.js - Imagine an app
Created by Asega on 8/2/2023 in #djs-voice
Trying to make an automatic join to VC but wont work
Code
client.on("ready",(c)=>{
const channel = c.channels.cache.get('1136337935201996850')
const connection = joinVoiceChannel({
channelId: channel.id,
guildId: channel.guild.id,
adapterCreator: channel.guild.voiceAdapterCreater
})

//connection();
c.user.setActivity({
name: 'Events & Giveaways!',
type: ActivityType.Playing,
})
});
client.on("ready",(c)=>{
const channel = c.channels.cache.get('1136337935201996850')
const connection = joinVoiceChannel({
channelId: channel.id,
guildId: channel.guild.id,
adapterCreator: channel.guild.voiceAdapterCreater
})

//connection();
c.user.setActivity({
name: 'Events & Giveaways!',
type: ActivityType.Playing,
})
});
error
const adapter = options.adapterCreator({
^

TypeError: options.adapterCreator is not a function
const adapter = options.adapterCreator({
^

TypeError: options.adapterCreator is not a function
7 replies