Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question: is there any way to get a random emoji? #11

Open
salaboy opened this issue Oct 23, 2022 · 1 comment
Open

question: is there any way to get a random emoji? #11

salaboy opened this issue Oct 23, 2022 · 1 comment

Comments

@salaboy
Copy link

salaboy commented Oct 23, 2022

Is there any recommended way to get random emojis?

@gamebox
Copy link

gamebox commented Jul 1, 2024

Just pull the map, and do a rand.Intn(sizeOfMap) and then emojiMap[randomNumber]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants