=========
Webserver
=========

~~__copyright__ = 'this file is in the public domain'~~

get help on the webserver plugin
================================
::

  <bart> !help webserver
  <gozerbot> plugin description: maintain the bots webserver
  <gozerbot> commands: web .. web-allowip .. web-defaultallow ..
             web-defaultdeny .. web-denyip .. web-disable .. web-enable
             .. web-lists .. web-reload

enable webserver
================
::

  <bart> !web-enable localhost 8087
  <gozerbot> done

see if webserver is running
===========================
::

  <bart> !web
  <gozerbot> web server is running at http://localhost:8087

set default to allow
====================
::

  <bart> !web-defaultallow
  <gozerbot> ok

deny an ip
==========
::

  <bart> !web-denyip 127.0.0.1
  <gozerbot> 127.0.0.1 denied

set default on deny
===================
::

  <bart> !web-defaultdeny
  <gozerbot> ok

allow an ip
===========
::

  <bart> !web-allowip 127.0.0.1
  <gozerbot> 127.0.0.1 allowed

disable webserver
=================
::

  <bart> !web-disable
  <gozerbot> done
