Unable to create a pronoun bot that allows for ONLY predefined OR custom pronouns.
I'm trying to create a pronoun bot that allows for already defined pronouns, and if there are non that the user requests, allow for custom ones. Once the message is sent and it is custom it would just create the role and add it to the predefined ones. However my problem lies in that both "options" can be used simultaneously, which I don't want. How should I go about doing this? Also, if possible see where I can improve my usage of the builder; I'm pretty new to djs. Here's my code:
11 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I think I'm using v14
Maybe use subcommands
Well here's the thing
it's not limited to pronouns
it also would do role colors and other things that the owner of the server could set
I have the format as
/attribute -(subcommand group) pronouns(subcommand) existing(option) pronouns
I wanted them to be able to have a selection so I have the existing option available
as you can see
keep in mind that the "dash" is the subcommand group
but why? Why not just use
attribute pronoun custom
and attribute pronoun existing
:o
I forgot about that
thank you ðŸ˜
Or just use autocomplete
One option with choices they aren't locked to using