You are browsing as a guest. Sign up (or log in) to start making projects!

1h 31m 10s logged

Devlog 2 - The Seek Command

  • Thought of adding a command which gives a summary of any keyword entered and went for the DuckDuckGO API.
  • Struggled with catching the proper part I needed from the API and displaying it to the user. As the it returned a lot of information about the keyword(such as links and a lot of specifications related to it), I had to filter the result only to get the short summary.
  • The bot was replying with [object Promise] until I realised that I’ve missed await when calling the function. The silly part was I’ve entered = instead of === in an if statement.
  • Sorted everything at the end!
The Seek Command! 👇🏻
0
9

Comments 0

No comments yet. Be the first!