2014-10-02 13:51:42 -07:00
|
|
|
*************
|
|
|
|
Running a bot
|
|
|
|
*************
|
|
|
|
|
2015-06-19 20:23:36 -07:00
|
|
|
It is reccommended to install PyIRCBot3 with Pip or by running the install
|
|
|
|
script included in the module folder. This installs the `pyircbot` command into
|
|
|
|
your $PATH, which is the easiest way to launch a bot. This document assumes it
|
|
|
|
has been installed this way.
|
|
|
|
|
|
|
|
|
2014-10-02 13:51:42 -07:00
|
|
|
The bot is invoked from the command line:
|
|
|
|
|
|
|
|
.. code-block:: sh
|
|
|
|
|
2015-06-19 20:23:36 -07:00
|
|
|
pyircbot --config config.json
|
2014-10-02 13:51:42 -07:00
|
|
|
|
|
|
|
.. cmdoption:: -c --config
|
|
|
|
|
2015-06-19 20:23:36 -07:00
|
|
|
Path to the bot's :doc:`config </setup/initial_config>` file
|
2014-10-02 13:51:42 -07:00
|
|
|
|
|
|
|
The bot will run and print all logging information to stdout.
|