You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 26, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: DOCS.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,8 @@
1
1
## Plugin API Documentation
2
2
3
-
You can write your own Botbot plugin by extending the core plugin class and providing one or more handlers that may respond
4
-
to a message in an IRC channel. The existing plugins in `botbotme_plugins/plugins` serve as good examples to follow. `ping` and `brain` are good ones to start with due to their simplicity.
3
+
You can write your own Botbot plugin by extending the core plugin class and providing one or more message handlers. A
4
+
message handler is a method on the plugin class that receives an object representing a user message that has been
5
+
posted to the IRC channel the plugin is associated with. The existing plugins in `botbotme_plugins/plugins` serve as good examples to follow. `ping` and `brain` are good ones to start with due to their simplicity.
5
6
6
7
### Plugin Capabilities
7
8
@@ -13,7 +14,6 @@ Plugins provide three basic capabilities:
13
14
14
15
All plugins extend the BasePlugin class, providing them with the ability to utilize these capabilities.
15
16
16
-
17
17
### Parsing and responding to messages
18
18
19
19
In the simplest case, a plugin will receive a message from an IRC channel and parse it based on a rule. When the parsed input
0 commit comments