𝓟𝓸𝓵𝓲𝓼𝓱𝓚𝓮𝓫𝓪𝓫 | a.k.a Kebab
𝓟𝓸𝓵𝓲𝓼𝓱𝓚𝓮𝓫𝓪𝓫 | a.k.a Kebab
DIAdiscord.js - Imagine a bot
Created by elseif on 7/26/2023 in #djs-questions
Client not able to edit a channel even with all permissions
this is stupid, discord trying to cut corners lol
21 replies
DIAdiscord.js - Imagine a bot
Created by elseif on 7/26/2023 in #djs-questions
Client not able to edit a channel even with all permissions
btw, guild.memberCount gives a numer that is not accurate
21 replies
DIAdiscord.js - Imagine a bot
Created by elseif on 7/26/2023 in #djs-questions
Client not able to edit a channel even with all permissions
could u log the channel type?
21 replies
DIAdiscord.js - Imagine a bot
Created by elseif on 7/26/2023 in #djs-questions
Client not able to edit a channel even with all permissions
<Channel>.permissionsFor(bot)
21 replies
DIAdiscord.js - Imagine a bot
Created by elseif on 7/26/2023 in #djs-questions
Client not able to edit a channel even with all permissions
you sure the id is of the right channel?
21 replies
DIAdiscord.js - Imagine a bot
Created by 𝓟𝓸𝓵𝓲𝓼𝓱𝓚𝓮𝓫𝓪𝓫 | a.k.a Kebab on 2/15/2023 in #djs-voice
How to check if user is talking
thx @thehairy , you really helped me a lot
33 replies
DIAdiscord.js - Imagine a bot
Created by 𝓟𝓸𝓵𝓲𝓼𝓱𝓚𝓮𝓫𝓪𝓫 | a.k.a Kebab on 2/15/2023 in #djs-voice
How to check if user is talking
so i could you setup a inactive channel and ignore it
33 replies
DIAdiscord.js - Imagine a bot
Created by 𝓟𝓸𝓵𝓲𝓼𝓱𝓚𝓮𝓫𝓪𝓫 | a.k.a Kebab on 2/15/2023 in #djs-voice
How to check if user is talking
nvm, i read the desc
33 replies
DIAdiscord.js - Imagine a bot
Created by 𝓟𝓸𝓵𝓲𝓼𝓱𝓚𝓮𝓫𝓪𝓫 | a.k.a Kebab on 2/15/2023 in #djs-voice
How to check if user is talking
so this feature will disconnect users when they are not talking for a certain period of time?
33 replies
DIAdiscord.js - Imagine a bot
Created by 𝓟𝓸𝓵𝓲𝓼𝓱𝓚𝓮𝓫𝓪𝓫 | a.k.a Kebab on 2/15/2023 in #djs-voice
How to check if user is talking
basically i have a economy bot, and want to make it so you get money for talking in vc's, but i want to prevent people from just joining vc, muted and just there to farm money
33 replies
DIAdiscord.js - Imagine a bot
Created by 𝓟𝓸𝓵𝓲𝓼𝓱𝓚𝓮𝓫𝓪𝓫 | a.k.a Kebab on 2/15/2023 in #djs-voice
How to check if user is talking
heck it, then i guess i cant make anty vc afk
33 replies
DIAdiscord.js - Imagine a bot
Created by 𝓟𝓸𝓵𝓲𝓼𝓱𝓚𝓮𝓫𝓪𝓫 | a.k.a Kebab on 2/15/2023 in #djs-voice
How to check if user is talking
vaid, connection.receiver.speaking is a SpeakingMap...
33 replies
DIAdiscord.js - Imagine a bot
Created by 𝓟𝓸𝓵𝓲𝓼𝓱𝓚𝓮𝓫𝓪𝓫 | a.k.a Kebab on 2/15/2023 in #djs-voice
How to check if user is talking
some guy told me to use the SpeakingMap, would that work?
33 replies
DIAdiscord.js - Imagine a bot
Created by 𝓟𝓸𝓵𝓲𝓼𝓱𝓚𝓮𝓫𝓪𝓫 | a.k.a Kebab on 2/15/2023 in #djs-voice
How to check if user is talking
is there a way to check for without the bot being in a voice channel? i want the bot to check for the voice activity in multiple channels and this way i think it wont be possible
33 replies
DIAdiscord.js - Imagine a bot
Created by 𝓟𝓸𝓵𝓲𝓼𝓱𝓚𝓮𝓫𝓪𝓫 | a.k.a Kebab on 2/15/2023 in #djs-voice
How to check if user is talking
so i can only check if bot is in voice channel?
33 replies
DIAdiscord.js - Imagine a bot
Created by 𝓟𝓸𝓵𝓲𝓼𝓱𝓚𝓮𝓫𝓪𝓫 | a.k.a Kebab on 2/15/2023 in #djs-voice
How to check if user is talking
how to make a voice connection then
33 replies
DIAdiscord.js - Imagine a bot
Created by 𝓟𝓸𝓵𝓲𝓼𝓱𝓚𝓮𝓫𝓪𝓫 | a.k.a Kebab on 2/15/2023 in #djs-voice
How to check if user is talking
i have GuildVoiceStates intent
33 replies
DIAdiscord.js - Imagine a bot
Created by 𝓟𝓸𝓵𝓲𝓼𝓱𝓚𝓮𝓫𝓪𝓫 | a.k.a Kebab on 2/15/2023 in #djs-voice
How to check if user is talking
setInterval(()=>{
const connection = getVoiceConnection(bot.config.guildId)
console.log(connection)
},1000)
setInterval(()=>{
const connection = getVoiceConnection(bot.config.guildId)
console.log(connection)
},1000)
undefined
undefined
im in the vc talking now, why is it undefined... ):
33 replies
DIAdiscord.js - Imagine a bot
Created by 𝓟𝓸𝓵𝓲𝓼𝓱𝓚𝓮𝓫𝓪𝓫 | a.k.a Kebab on 2/15/2023 in #djs-voice
How to check if user is talking
theres people inside vc talking on that guild
33 replies
DIAdiscord.js - Imagine a bot
Created by 𝓟𝓸𝓵𝓲𝓼𝓱𝓚𝓮𝓫𝓪𝓫 | a.k.a Kebab on 2/15/2023 in #djs-voice
How to check if user is talking
const connection = getVoiceConnection(bot.config.guildId) // bot.config.guildId returns a guild id
setInterval(()=>console.log(connection.receiver.speaking.users),1000)
const connection = getVoiceConnection(bot.config.guildId) // bot.config.guildId returns a guild id
setInterval(()=>console.log(connection.receiver.speaking.users),1000)
[uncaughtException]: TypeError: Cannot read properties of undefined (reading 'receiver')
at Timeout._onTimeout (D:\Boty\Frog bot\events\ready.js:11:44)
at listOnTimeout (node:internal/timers:564:17)
at process.processTimers (node:internal/timers:507:7)
[uncaughtException]: TypeError: Cannot read properties of undefined (reading 'receiver')
at Timeout._onTimeout (D:\Boty\Frog bot\events\ready.js:11:44)
at listOnTimeout (node:internal/timers:564:17)
at process.processTimers (node:internal/timers:507:7)
33 replies