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?
Solution:
you can split it off in several files and export/import code. That said, we're not going to spoonfeed you the code because at that point we may as well write the bot for you, which in turn is a possibility (some of us including Vladdy and myself do take comissions) but against payment
Jump to solution
3 Replies
Solution
Favna
Favna•4mo ago
you can split it off in several files and export/import code. That said, we're not going to spoonfeed you the code because at that point we may as well write the bot for you, which in turn is a possibility (some of us including Vladdy and myself do take comissions) but against payment
Shrewd 💫
Shrewd 💫OP•4mo ago
Oh no, my point in general was what is the suggested way to go and thinking whether sapphire has anything more to offer regarding it But alright, I guess that's the only way Well, thank you
Favna
Favna•4mo ago
the "only way" is basically just JS basics really. Never forget your basics.
Want results from more Discord servers?
Add your server