This repository was archived by the owner on Dec 29, 2017. It is now read-only.
File tree 5 files changed +17
-18
lines changed
5 files changed +17
-18
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ A basic configuration will look like this:
55
55
plugin2 :
56
56
...
57
57
58
- Plugins must be importable python modules defining the :ref: `references_hook `.
59
- See :ref: ` writing_plugins ` for more information.
58
+ Plugins must be importable python modules. See :ref: `writing_plugins ` for more
59
+ information.
60
60
61
61
.. _conf_starting_priority :
62
62
@@ -67,9 +67,8 @@ Plugins can depend on other plugins. You can ensure a startup order by setting
67
67
a startup priority. By default all plugins have a priority of 50. Plugins with
68
68
a higher priority will start before the one with a lower priority.
69
69
70
- If multiple plugins have the same priority they will start simultaneously.
71
-
72
- A priority of 0 or false will disable the plugin.
70
+ If multiple plugins have the same priority they will start simultaneously. A
71
+ priority of 0 or false will disable the plugin.
73
72
74
73
.. code-block :: yaml
75
74
@@ -92,7 +91,7 @@ Each plugin should define his own logger. The core logger is :code:`sirbot.core`
92
91
Import
93
92
------
94
93
95
- To use Sir-bot -a-lot in a project:
94
+ To use Sir Bot -a-lot in a project:
96
95
97
96
.. code-block :: python
98
97
Original file line number Diff line number Diff line change @@ -13,17 +13,16 @@ The uses of bots are nearly endless and come in all shapes and sizes.
13
13
They can handle Slack shenanigans, monitor the status of a crypto-currency,
14
14
or become your personal assistant.
15
15
16
- Sir-bot-a-lot aims to be a framework to ease the creation of new and innovating
17
- bot for you and your team while keeping everything as simple as possible. It is
18
- build onto a plugin system that allow inter-connection with as much service as
19
- you like.
16
+ Sir Bot-a-lot is a framework built to ease the creation of new and innovating
17
+ bot for you and your team while keeping everything as simple as possible. It use
18
+ a plugin system that allow inter-connection with as much service as you like.
20
19
21
20
This project is maintained by the `pyslackers `_ community.
22
21
Want to join? `Get an invite `_ !
23
22
24
23
.. note ::
25
24
26
- The core sir-bot -a-lot module does **NOTHING ** without plugins.
25
+ The core Sir Bot -a-lot module does **NOTHING ** without plugins.
27
26
Check out the list of :ref: `available plugins `.
28
27
29
28
.. toctree ::
Original file line number Diff line number Diff line change @@ -11,14 +11,14 @@ Stable release
11
11
12
12
Not yet released
13
13
14
- To install sir-bot-a-lot, run this command in your terminal:
14
+ To install run this command in your terminal:
15
15
16
16
.. code-block :: console
17
17
18
18
$ pip install sir-bot-a-lot
19
19
20
- This is the preferred method to install sir-bot-a-lot, as it will always
21
- install the most recent stable release.
20
+ This is the preferred method as it will always install the most recent stable
21
+ release.
22
22
23
23
If you don't have `pip `_ installed, this `Python installation guide `_ can guide
24
24
you through the process.
Original file line number Diff line number Diff line change @@ -58,11 +58,11 @@ Start
58
58
As plugins might need the functionality of other plugins during startup a
59
59
specific order is establish based on each plugin :ref: `conf_starting_priority `.
60
60
61
- Sir-bot -a-lot will also wait for a plugin to be fully started before attempting
61
+ Sir Bot -a-lot will also wait for a plugin to be fully started before attempting
62
62
to start the next one. This ensure that no race condition exist in the starting
63
63
process.
64
64
65
- When starting a plugin Sir-bot -a-lot create a new asyncio task in order to
65
+ When starting a plugin Sir Bot -a-lot create a new asyncio task in order to
66
66
allow it to run indefinitely.
67
67
68
68
Example
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Quick Start
4
4
5
5
.. note ::
6
6
7
- The core sir-bot -a-lot module does **NOTHING ** without plugins.
7
+ The core Sir Bot -a-lot module does **NOTHING ** without plugins.
8
8
Check out the list of :ref: `available plugins `.
9
9
10
10
Installation
@@ -29,7 +29,8 @@ More installation instruction can be found :ref:`here <installation>`.
29
29
Configuration
30
30
-------------
31
31
32
- To load a custom config file use the :code: `--config ` argument or the :code: `SIRBOT_CONFIG ` environment variable with the configuration file path.
32
+ To load a custom config file use the :code: `--config ` argument or the
33
+ :code: `SIRBOT_CONFIG ` environment variable with the configuration file path.
33
34
34
35
The default configuration file look like this:
35
36
You can’t perform that action at this time.
0 commit comments