The argument did not resolve to emoji

Hi, I am using sapphire v3.1.4 currently. I have created a message command where users need to provide 2 or more emojis, so I utilize the built-in emoji argument of sapphire, however when I test the command and pass twemojis, it raises the error I posted in title (see 2nd screenshot). I am a bit confused why it happens. If anyone can guide me in right direction, it would be immensely appreciated. Thank you for reading. ablobcatheartsqueeze
7 Replies
Favna
Favna3y ago
That is weird. When I run the underlying code manually it works just fine
owoer
owoerOP3y ago
weird indeed so i solved it by accepting input as string built-in type and then parsing it afterwards so looks like there is no built-in emoji argument in sapphire 3.1.4? https://github.com/sapphiredev/framework/tree/stable/src/lib/resolvers nothing here
Favna
Favna3y ago
Stable branch is not 3.1.4
owoer
owoerOP3y ago
oh
owoer
owoerOP3y ago
ok my bad
Favna
Favna3y ago
You may be confused by how DJS handles stable branch. That's not how we do it. Our stable branch is currently the old V2 branch from when main had v3
Favna
Favna3y ago
That button is added Refined Github and it's a button to go to the tree of that tag

Did you find this page helpful?