 But if it&#39;s stil no good (None) we exit.</span>
    <span class="k">if</span> <span class="n">pid</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
        <span class="n">bot</span><span class="o">.</span><span class="n">warning</span><span class="p">(</span><span class="s2">&quot;&#39;pid&#39; must be a running process or process name.&quot;</span><span class="p">)</span>
        <span class="k">return</span> <span class="n">pid</span>

    <span class="n">ps</spa