Greatest Of the Year bot!
- 2 Devlogs
- 2 Total hours
G.O.Y. bot anwsers philosophical questions , helps you make decisons with coinflip, and it also teaches random facts if you ask him nicely.
G.O.Y. bot anwsers philosophical questions , helps you make decisons with coinflip, and it also teaches random facts if you ask him nicely.
Feedback
Hey there,
Awesome project! I'd love to see what you make in the future!
Shipwright walkthrough
Feedback
Hey! Thanks for shipping your project. It's not quite ready for voting yet, so here's what we'd like you to change:
-your project banner should be a screenshot of your project in action , change it from project settings
Once you've made these, ship it again and we'll take another look!
Shipwright walkthrough
Fix API Base URL from https://jsph.pl to https://uselessfacts.jsph.pl/api/v2/facts/random?language=en
Feedback
This seems to be a cool project, however, the /goy-fact command doesn't work as it refernence an incorrect api endpoint (as demonstrate from the video) Please fix it before resubmitting, thank you!
Shipwright walkthrough
Purpose: Returns a random answer to the question of
the meaning of life.
How it works: The command uses Math.random() and
Math.floor() to randomly select one response from a fixed array of possible
answers.
Purpose: (self explanatory) Fetches random facts
How it works: The command fetches data from the
external API. It sends the Accept: application/json header and checks
apiResponse.ok to make sure the request was successful before processing the
JSON response.
Purpose: a simple heads or tails result directly in
the execution channel.
How it works: The command uses an array containing
two possible results, [“Heads”, “Tails”], and randomly
selects one of them using a mathematical array index.