title: How To Make Discord.py dev only Commands
body: <p>How To Make Discord.py dev only Commands</p>
  <pre><code>def restart_bot():
  
  
  os.execv(sys.executable, ['python'] + sys.argv)
  
  @Bot.command(name= 'restart')
    async def restart(ctx):
    await ctx.send(&quot;Restarting bot...&quot;)
    restart_bot()
  </code></pre>