<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
<channel>
    <title>Untitled - pb.stoleyour.com</title>
    <description>Untitled - pb.stoleyour.com</description>
    <atom:link href="http://pb.stoleyour.com/view/rss/8617efb8" rel="self" type="application/rss+xml" />
    <link>http://pb.stoleyour.com/</link>
    <language>en</language>
<item>
    <title>Re: Untitled</title>
    <link>http://pb.stoleyour.com/view/d20bf0b9</link>
    <pubDate>Sun, 15 Jul 2018 02:30:23 -0400</pubDate>
    <dc:creator>Unreliable Parakeet</dc:creator>
    <guid isPermaLink="false">http://pb.stoleyour.com/view/d20bf0b9</guid>
    <description><![CDATA[if ctx.message.author.id in SOMEARRAY: SOMEARRAY.get(ctx.message.author.id) url = (&quot;http://ouo.io/api/&quot; + SOMEARRAY.get(ctx.message.author.id) + ctx.message.content) handle = urllib.request.Request(url,&#8230;]]></description>
    <content:encoded><![CDATA[<div class="python" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #ff7700;font-weight:bold;">if</span> ctx.<span style="color: black;">message</span>.<span style="color: black;">author</span>.<span style="color: #008000;">id</span> <span style="color: #ff7700;font-weight:bold;">in</span> SOMEARRAY:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; SOMEARRAY.<span style="color: black;">get</span><span style="color: black;">&#40;</span>ctx.<span style="color: black;">message</span>.<span style="color: black;">author</span>.<span style="color: #008000;">id</span><span style="color: black;">&#41;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; url <span style="color: #66cc66;">=</span> <span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;http://ouo.io/api/&quot;</span> + SOMEARRAY.<span style="color: black;">get</span><span style="color: black;">&#40;</span>ctx.<span style="color: black;">message</span>.<span style="color: black;">author</span>.<span style="color: #008000;">id</span><span style="color: black;">&#41;</span> + &nbsp;ctx.<span style="color: black;">message</span>.<span style="color: black;">content</span><span style="color: black;">&#41;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; handle <span style="color: #66cc66;">=</span> <span style="color: #dc143c;">urllib</span>.<span style="color: black;">request</span>.<span style="color: black;">Request</span><span style="color: black;">&#40;</span>url<span style="color: #66cc66;">,</span> headers<span style="color: #66cc66;">=</span><span style="color: black;">&#123;</span><span style="color: #483d8b;">'User-Agent'</span>: <span style="color: #483d8b;">'Mozilla/5.0'</span><span style="color: black;">&#125;</span><span style="color: black;">&#41;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; html <span style="color: #66cc66;">=</span> <span style="color: #dc143c;">urllib</span>.<span style="color: black;">request</span>.<span style="color: black;">urlopen</span><span style="color: black;">&#40;</span>handle<span style="color: black;">&#41;</span>.<span style="color: black;">read</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>.<span style="color: black;">decode</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">'utf-8'</span><span style="color: black;">&#41;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; await <span style="color: #008000;">self</span>.<span style="color: black;">bot</span>.<span style="color: black;">say</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;Shortened: &quot;</span> + html<span style="color: black;">&#41;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; <span style="color: #ff7700;font-weight:bold;">else</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; await <span style="color: #008000;">self</span>.<span style="color: black;">bot</span>.<span style="color: black;">say</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;nope&quot;</span><span style="color: black;">&#41;</span></div></li>
</ol></div>]]></content:encoded>
</item>
</channel>
</rss>
