title: Discord.js wikipedia fandom search command isn't finding any results
body: <p>I'm trying to make a fandom search command which is supposed to search the <a href="https://among-us.fandom.com/wiki/Among_Us_Wiki" rel="nofollow noreferrer">among us fandom wiki</a>
  but it isn't working at all telling that it isn't find any results</p>
  <pre class="lang-js prettyprint-override"><code>//formats to fit the proper url
          const fetch = require('node-fetch')
          const Parse = require('parse')
          const url = require('url')
          var term = args.join().replace(/,/g, &quot;_&quot;)
          term = term.toLowerCase()
          //creates the api url being used
          var apiurl = 'https://among-us.fandom.com//api/v1/Search/List?query=' + term + '&amp;limit=1'
  
  
          fetch(apiurl)
              //converts response into a json format
              .then(response =&gt; response.json())
              //sends the proper url into the chat
              .then(data =&gt; {
                  const page = data.items[0].id
                  var pageurl = 'https://among-us.fandom.com//api/v1/Articles/AsSimpleJson?id=' + page
                  fetch(pageurl)
                      .then(response =&gt; response.json())
                      .then(data =&gt; {
                          var test = data.sections[0].images.src
                          console.log(test)
                          const prev = page.snippet.replace(/\//g, '')
                          const embededSearch = new Discord.MessageEmbed()
                              .setTitle(page.title)
                              .setColor('#ffd000')
                              .setURL(page.url)
                              .setImage(test)
                              .addFields(
                                  { name: '\u200b', value: prev.replace(/&lt;span&gt;|&lt;span class=\&quot;searchmatch\&quot;&gt;|'&lt;'|'&gt;'/g, '') + '...' }
                              )
                          message.channel.send(embededSearch)
                      })        
              })
              //for when a page isn't found
              .catch(function (e) {
                  message.channel.send('No results found')
              });
  </code></pre>
  <p>i tried console logging the error and i get error <code>TypeError: Cannot read property '0' of undefined</code> could i get any help i have been trying for hours to make it work</p>