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.
Solution:
yes, but you'll have to set the name property in the options in the constructor / ApplyOptions. Furthermore, you will either have to use bulk overwrite or be very sure that you're tracking idHints otherwise you'll get name clashes when Sapphire attempts to do a comparison analysis to check for new data
Jump to solution
2 Replies
Solution
Favna
Favna•3mo ago
yes, but you'll have to set the name property in the options in the constructor / ApplyOptions. Furthermore, you will either have to use bulk overwrite or be very sure that you're tracking idHints otherwise you'll get name clashes when Sapphire attempts to do a comparison analysis to check for new data
Shrewd 💫
Shrewd 💫OP•3mo ago
okay thank you
Want results from more Discord servers?
Add your server