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.
10 Replies
That is weird. When I run the underlying code manually it works just fine
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
Stable branch is not 3.1.4
oh
GitHub
framework/src/lib/resolvers at v3.1.4 · sapphiredev/framework
Discord bot framework built on top of discord.js for advanced and amazing bots. - framework/src/lib/resolvers at v3.1.4 · sapphiredev/framework
ok my bad
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
yeah i got a bit confused by the tag that shows next to branch name in gh web ui, sorry 😄
That button is added Refined Github and it's a button to go to the tree of that tag