thieleju / statsbot

Discord Bot to gather data from public APIs using node.js and discord.js! Hacktoberfest Event Project
MIT License
22 stars 45 forks source link

Add /mathquestion command using xMath API #16

Closed thieleju closed 2 years ago

thieleju commented 2 years ago

Command Name

/mathquestion

Public API Resource

https://x-math.herokuapp.com/

Description

The bot should ask a math question from the xMath API. The bot should also wait for a response from the user and reply with correct/incorrect and the solution.

There is an optioni to set max and min for the generated numbers. https://x-math.herokuapp.com/api/random?max=400&min=20

Implementation Details

Code of Conduct

FreemRL commented 2 years ago

Hello again, I would like to work on that. Can you assign me?

thieleju commented 2 years ago

Hey @FreemRL, since you already contributed to this repository I'd prefer for new people to get a chance to contribute. Keep contributing ❤️

ramdhanihendrie commented 2 years ago

I am interested in this issue. please assign it to me

thieleju commented 2 years ago

Sure, go ahead! @ramdhanihendrie

thieleju commented 2 years ago

If there are any questions, please feel free to ask!

FreemRL commented 2 years ago

Since he removed his assignment, can I work on this? :D

thieleju commented 2 years ago

Yes, the issue is yours 😄

FreemRL commented 2 years ago

@thieleju thanks man <3 I created a PR for this issue (#49) ^^

thieleju commented 2 years ago

@FreemRL Great contribution 🚀 I reviewed your pr #49 and labeled it with the hacktoberfest-accepted label.

Thank you for contributing! ❤️