Brad
Brad
DIAdiscord.js - Imagine a bot
Created by Raay on 8/21/2024 in #djs-questions
User install Commands
Thank you for that incite I did not look at it previously it does check interaction.guild inside inGuild()!
36 replies
DIAdiscord.js - Imagine a bot
Created by Raay on 8/21/2024 in #djs-questions
User install Commands
My apolgoizes! I did mean interaction.guild.available I was typing from memory.
36 replies
DIAdiscord.js - Imagine a bot
Created by Raay on 8/21/2024 in #djs-questions
User install Commands
if (interaction.inGuild() && interaction.guild && interaction.guild.available) {
// guild installed code
} else {
// user installed code
// Keep in mind here you don't have access to any guild or channel data.
}
if (interaction.inGuild() && interaction.guild && interaction.guild.available) {
// guild installed code
} else {
// user installed code
// Keep in mind here you don't have access to any guild or channel data.
}
thats how I decided to do it if someone has better ideas I'm open to suggestions!
36 replies
DIAdiscord.js - Imagine a bot
Created by Raay on 8/21/2024 in #djs-questions
User install Commands
Discord.js does receive the interactions from user installed apps and responses to them so as long as you deploy the slash commands as user installed it will just work without the guild and channel data as far as I’ve seen so far.
36 replies
DIAdiscord.js - Imagine a bot
Created by D3V1L0M3N on 3/12/2023 in #djs-voice
Audio stops playing
For me at least it's working but is definitely stuttering through it at moments.
63 replies
DIAdiscord.js - Imagine a bot
Created by Brad on 2/28/2023 in #djs-voice
Connection VS Player
Thank you! Very greatly appreciated
5 replies
DIAdiscord.js - Imagine a bot
Created by Brad on 7/31/2022 in #djs-voice
What protocols and ports are used for audio streaming?
I can confirm it did help.
6 replies
DIAdiscord.js - Imagine a bot
Created by Brad on 9/27/2022 in #djs-questions
shardCount client options
I see shardCount is how many total shards you want/need. And shards would be which shards is running on that process. Thank you for your help!
3 replies