Shrewd 💫
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by Shrewd 💫 on 10/14/2024 in #djs-questions
bot's activity status
can someone enlighten me on how do I remove bot's status?
4 replies
DIAdiscord.js - Imagine an app
•Created by Shrewd 💫 on 10/10/2024 in #djs-questions
sweeping the cache
hi, I obviously haven't ever used it, but is it recommended? And if I have GuildMembers intent, will it sweep that as well or what? I'm sorry I'm just pretty much new to cache sweeps, haven't digged into it yet & would appreciate someone's guide on that!
14 replies
DIAdiscord.js - Imagine an app
•Created by Shrewd 💫 on 9/20/2024 in #djs-questions
Autocomplete retreiving from database
So for example I have suspension system and I want to view someones suspension so like I'd write /suspensions list:user, am I able to make autocomplete retreive results from the database?
7 replies
DIAdiscord.js - Imagine an app
•Created by Shrewd 💫 on 9/20/2024 in #djs-questions
What happens if;
What happens if a bot gets kicked out of a guild where he had slash commands deployed? Are those slash commands being removed by discord automatically? (I'm using sapphire framework as well if that's any helpful
3 replies
DIAdiscord.js - Imagine an app
•Created by Shrewd 💫 on 9/18/2024 in #djs-questions
Discord Threads
I've got dumb discord.js related question, if bot is in like lots of threads, does it in any way affect it's performance? Like I don't know where the question came from, I just decided to ask. Like, my bot definitely won't be listening to each, because it won't, it's job will be to create those for the upcoming ticket system and leave a button to close it, nothing more, nothing less.
4 replies
DIAdiscord.js - Imagine an app
•Created by Shrewd 💫 on 9/4/2024 in #djs-questions
Retreiving thread by it's name & it's tags
Hi Im back with one question, is there any reliable/suggested way to retreive specific thread titles by their exact name and it's contents? I haven't worked much with threads, same as tags, can I retreive it's tags?
5 replies
DIAdiscord.js - Imagine an app
•Created by Shrewd 💫 on 9/3/2024 in #djs-questions
what is entitlementCreate event & how to add the reason field for audit logs in audit logs.
- First question is self explanatory & second one relates to how add the little thing "with reason" to audit logs as this has been a thing for a while but still didn't figure out how to do this.
5 replies
DIAdiscord.js - Imagine an app
•Created by Shrewd 💫 on 9/2/2024 in #djs-questions
Forum Event
Hey, is there a way to specifically like listen to certain forum and it's posts so upon new post, a bot will send some message?
4 replies
DIAdiscord.js - Imagine an app
•Created by Shrewd 💫 on 8/19/2024 in #djs-questions
Permission Checks
Is there any like suggested way to make permission checks? I have been doing fetch with force set to true to make sure that the person who executes certain command still possesses HR command but then again, is it the way I should do it since I don't want to send lots of requests.
14 replies
DIAdiscord.js - Imagine an app
•Created by Shrewd 💫 on 8/19/2024 in #djs-questions
what is "with reason"
12 replies
DIAdiscord.js - Imagine an app
•Created by Shrewd 💫 on 7/2/2024 in #djs-questions
Audit log in secondary guild.
So the question is pretty simple, how would I go over making it so my bot in secondary guild only sends audit logs to it, no commands, nothing else, just log things that I have coded to be logged.
I have gotten this error often, thought it's best I mention it;
The fetched channel does not belong to this manager's guild.
15 replies
DIAdiscord.js - Imagine an app
•Created by Shrewd 💫 on 5/19/2024 in #djs-questions
Mutil-server support
Hey so yeah, well, it is pretty basic question but could anyone navigate me how should I structurize folders/files or something for a bot that would have to support few servers, one with each different commands? I mean I have done few like those but my problem is that Im getting lost in the files, theres just so much to navigate and well, im pretty sure there are people that have found a better way to organize it all
25 replies
DIAdiscord.js - Imagine an app
•Created by Shrewd 💫 on 2/29/2024 in #djs-questions
Updating bot without shutting it down,
Hey so my question is pretty straightforward; is there any reliable/recommended way to update slash commands and other stuff without shutting the bot down or something? Curious to find out
15 replies
DIAdiscord.js - Imagine an app
•Created by Shrewd 💫 on 2/25/2024 in #djs-questions
Automatic reactions
so here I am, with another query. How would I go over making it so upon modal submission there would appear two reactions, checkmark and x and if either is clicked, it makes an appropriate action?
I thought just right now that I would have to add reactions right in my modal code so when its sending the whole embed it also adds reactions but how would it listen to it? I need to really get a grasp of it but im having trouble with it
31 replies
DIAdiscord.js - Imagine an app
•Created by Shrewd 💫 on 2/22/2024 in #djs-questions
Simple question
How is like context menu worth it? like I don't see a much of a need in it but I'm just curious and wanna know how it's better, how it can like make things easier, just anything, thanks
18 replies
DIAdiscord.js - Imagine an app
•Created by Shrewd 💫 on 2/21/2024 in #djs-questions
What's the reason for subcommands?
Pretty straightforward, might sound dumb but honest, kind of having trouble understanding it's purpose
3 replies
DIAdiscord.js - Imagine an app
•Created by Shrewd 💫 on 2/20/2024 in #djs-questions
interaction response
Hey so my question is pretty simple, If I were to make ticket system or something and for example I want my embed with Create button to work all the time, should I code it's handler in the interactionCreate.js or should I make it as a standalone event.
tried to explain as best as i could
12 replies
DIAdiscord.js - Imagine an app
•Created by Shrewd 💫 on 1/21/2024 in #djs-questions
Modal Id question
Hey so Im just looking for some simple explanation on the custom id, so like, whats the job of it specifically, what does it change, what is it needed for, and will the modal like know who submitted the form because of the same id of it or like each person needs different one? Question might be confusing but theres nothing I can do, I dont really understand the customid thing
8 replies
DIAdiscord.js - Imagine an app
•Created by Shrewd 💫 on 12/16/2023 in #djs-questions
Sapphire Framework
So my question is pretty simple, is it recommended to use sapphire framework? If yes, why? One person has suggested it but I'd need to know more
4 replies