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

Add: Ship command #65

Open
z404 opened this issue Oct 14, 2022 · 2 comments
Open

Add: Ship command #65

z404 opened this issue Oct 14, 2022 · 2 comments

Comments

@z404
Copy link
Collaborator

z404 commented Oct 14, 2022

Create a ship command that ships 2 users. The command takes two users as parameters. The command should work in such a way that a ship between the same two users should always give the same value. This can be achieved with the following steps:

  • Obtain each of the user's numerical ID.
  • Multiply both the numerical IDs.
  • Mod the resultant number with 101. This will produce a number that can range from 0 to 100.

Add a message to go along with the percentage, with a relevant emoji.
0% - 20% = 🥲
20% - 40% = 💔
40% - 60% = 💚
60% - 75% = 💙
75% - 90% = 💖
90% - 100% = ❤️‍🔥

Feel free to get creative with the message.

@kunalsingh1301
Copy link

@z404 can you assign me this?

@z404
Copy link
Collaborator Author

z404 commented Oct 14, 2022

Sure! Assigned!

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

No branches or pull requests

2 participants