Adding a custom !song command using Snip, Winamp and OneDrive

I am currently trying to add a custom command to allow people to see what song is currently playing on Twitch. I am using Winamp and Snip which allows me to generate a .txt file that shows the song playing in plain text. I am using OneDrive to generate a webpage that will allow me to use the Fetch command to retrieve the text.

The issue I’m having is when I add the command, I receive a response back saying “responses must be 400 characters or less”

This is the command I’m adding.



Any assistance would be greatly appreciated

That link you posted will return a HTML webpage that is far greater than 400 characters. This is incorrect as it should return a plain-text response.

<!DOCTYPE html>
<html lang="en" dir="ltr" xml:lang="en" xmlns="" class=" fh  responsive " </span> <span>New OneNote notebook</span></a></li></ul></div></div></div><div id="c_base" class="c_base">
                <div class="c_main" id="c_content">

<!-- Omitted lots of scripts -->

<div id="infoPage">

 <div id="infoBox" >
    <div id="infoBoxContent">
    <h1 id="infoBoxTitle" >This item might not exist or is no longer available</h1>
    <div id="infoBoxMessage" >

  <div id="sdx_mb">
    This item might have been deleted, expired, or you might not have permission to view it. Contact the owner of this item for more information.

      <div id="buttonBarRow" class="clear" >

<div class="buttonBar" id="buttonBar"><input id="home" class="default" name="home" type="submit" onClick="try{$BSI.navigateTo('', '_top');}catch(e){'', '_top');}return false;"  style="" value="Go to OneDrive" />


    </div><div class="c_clr"> </div>

  <div id="sdx_error">
    <span id="PageNotFound"></span>


</div><div id="m_wf">
<style type="text/css">
.fadeOnHoverTarget .fadeOnHover{visibility: hidden;}.fadeOnHoverTarget:hover .fadeOnHover{visibility: visible;}.NoDisplay{display: none !important;}</style>
<table id="uxp_ftr_control" cellpadding="0" cellspacing="0" class="t_fbgc">
  <td id="uxp_ftr_left" class="t_lnksi">
        <li><span id="uxp_ftr_link_trademark">&copy; 2018 Microsoft</span></li>
            <li><a id="uxp_ftr_link_legal" target="_blank" href="http&#58;//">Terms</a></li>
            <li><a id="uxp_ftr_link_privacy" target="_blank" href="http&#58;//;LinkId&#61;253457">Privacy &#38; cookies</a></li><li><a id="uxp_ftr_link_developers" target="_blank" href="http&#58;//">Developers</a></li><li><a id="uxp_ftr_link_abuse" target="_blank" href="https&#58;//;LinkID&#61;85433">Report abuse</a></li><li><a id="uxp_ftr_link_language" target="_self" href="&#63;ru&#61;https&#37;3a&#37;2f&#37;;2fpagenotfounderror.aspx&#37;3fresid&#37;3dAD95F685E33D8E9B&#37;211190&#37;26authkey&#37;3d&#37;21AGONZcZruQXBQhE&#37;26ithint&#37;3dfile&#37;252ctxt">English &#40;United States&#41;</a></li></ul>
</div></div><script type="text/javascript">

<!-- Omitted lots of scripts -->


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.