Closed checkraisefold closed 1 year ago
In what situations guild commands will fail on this?
In what situations guild commands will fail on this?
If you have a slash command with a user option, and you <@id>
mention someone that's not in the guild, the command fails and discordia-slash throws an error from line 171.
I see, make a PR, I no longer maintain this and don't have time
Close this issue? #11
If you pass a user that's not in the server to a slash command with a user option, it will error. Seems to be because it checks resolved.members which is actually resolved.users when the user isn't in the server. https://github.com/GitSparTV/discordia-slash/blob/master/libs/client/Client.lua#L171