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
SIASapphire - Imagine a framework
•Created by Shrewd 💫 on 9/25/2024 in #sapphire-support
why my ping.ts doesnt wanna run after being transpiled?
So my slash command doesnt wanna execute after its been transpiled to js even though after I did run it on ts-node, it worked without any issues.
10 replies
SIASapphire - Imagine a framework
•Created by Shrewd 💫 on 9/25/2024 in #sapphire-support
Using HMR in TS
So I am considering writing a bot in TS, but my question is, since sapphire supports it, how would I go over using it, like, in TS you have to transpile files to js but what after you make updates to the .ts files, will HMR detect it and reload or how does it look?
13 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
SIASapphire - Imagine a framework
•Created by Shrewd 💫 on 9/18/2024 in #sapphire-support
Slash-Context menu commands with spaces?
Is there any way to create a slash command without dashes like "User Info" or something like it? Haven't tested yet but I want to know, and also if the uppercase will appear as well.
8 replies
SIASapphire - Imagine a framework
•Created by Shrewd 💫 on 9/16/2024 in #sapphire-support
Same command files but in different folders
So is sapphire like going to function well if I were for example have kick.js twice but one in admin folder and one in developer folder? Both set to deploy to different guilds?
26 replies
SIASapphire - Imagine a framework
•Created by Shrewd 💫 on 9/9/2024 in #sapphire-support
User App
Hey, does sapphire support user installable applications? And if yes, is there any guide or is it just pretty much the same?
5 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
SIASapphire - Imagine a framework
•Created by Shrewd 💫 on 9/2/2024 in #sapphire-support
File Names
So I was told to ask this here; I am working on a slash command that is supposed to have the same name in multiple guilds but perform different functions, can I use the same name for the file names if they are in different folders for different guilds or? Hopefully that's understandable what i'm trying to ask. I have made a similar question before but this one is about whether the names can be the same of the files.
5 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
SIASapphire - Imagine a framework
•Created by Shrewd 💫 on 8/5/2024 in #sapphire-support
Multiple guilds handling
Hi, so, I'm pretty new to this framework, done a couple of things, but tell me, how am I supposed to write entire getrole.js code that's supposed to retreive proper roles based on each guild, each guild = different roblox group, and It seems unimaginable on writing it all in one file, any suggestions?
8 replies
SIASapphire - Imagine a framework
•Created by Shrewd 💫 on 8/1/2024 in #sapphire-support
Permission check in other guild
How am I supposed to make it so for example I have Invite to MTF context menu that has to invite someone to MTF guild, like, it does its job, but my point is so no person can be invited unless they have Lieutenant+ in MTF guild, how am I supposed to make this permission check? (i'd appreciate if i were to be pinged upon reply)
55 replies
SIASapphire - Imagine a framework
•Created by Shrewd 💫 on 7/24/2024 in #sapphire-support
Multiple guilds
Any suggestions/advices on how to properly manage multiple guilds at once? How would I go over handling a command that has the same name and is supposed to be in few guilds but execute based on different roles etcetera? If I had to write it all in one script-file, it'd become such a mess.
Hopefully readers can comprehend it
4 replies
SIASapphire - Imagine a framework
•Created by Shrewd 💫 on 7/11/2024 in #sapphire-support
idhint & command id
Is sapphire framework supposed to assign command id to every command whether it is global or guild-only?
also, can we put idHints directly in the slash commands or not? if not, what do you suggest
8 replies