Miserable time design a "fancy" settings menu
I'm making a bot for my server (with help of AI, not gonna lie), and as the functionalities increased, the way i was organizing the
/config command (adding multiple subcommands, that quickly became a mess to figure out) became unsustainable.
So, when using Rythm, i really fell in love the way it manage its myrad of settings, but to implement my version of it for my bot... it was a nightmare.
For example, i have a system of "memories" for each member that i end up forwarding to the AI api (it's a chatbot too), its organized in per-guild-per-user way (there is also a per-whole guild memory set too, not the focus on it for now), and handling text input in this settings style (using forms and dropdowns) became quickly miserable too, because the AI tried to make a dynamically ID'ed for that module's interactions using the target member ID.
I really don't know if that style of Rythm's would be the way for my bot to have its settings, or if i should separate the modules that have text input as subcommands, etc.
What are your thoughts about this?
5 Replies
ah, of course: Node v22.18.0 and discord.js@14.22.1
And more importantly, for reference, the mess of the bot's code is here.
The relevant files on the memories example i mentioned in OP are
commands\config.js and events\interactionCreate.jsthis channel is for questions with djs itself
not how to organize your code or design your menus
you can ask in #general about that since it's not really a programming question either way
ah sorry
thought here would be better because its a forum channel
btw
moved it to https://discord.com/channels/222078108977594368/1412946177023934566
The thread owner has marked this issue as solved.