Fix a little error in the plugins doc
This commit is contained in:
parent
32792fbc9c
commit
50d5c6b8b2
1 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
||||||
Plugins
|
Plugins
|
||||||
=======
|
=======
|
||||||
|
|
||||||
|
|
||||||
Location
|
Location
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
@ -243,7 +242,7 @@ Examples
|
||||||
|
|
||||||
[[example-1]]
|
[[example-1]]
|
||||||
.Add a simple command that sends "Hello World!" into the conversation
|
.Add a simple command that sends "Hello World!" into the conversation
|
||||||
=====================================================================
|
=================================================================
|
||||||
[source,python]
|
[source,python]
|
||||||
---------------
|
---------------
|
||||||
class Plugin(BasePlugin):
|
class Plugin(BasePlugin):
|
||||||
|
@ -253,7 +252,7 @@ class Plugin(BasePlugin):
|
||||||
def command_hello(self, arg):
|
def command_hello(self, arg):
|
||||||
self.core.send_message('Hello World!')
|
self.core.send_message('Hello World!')
|
||||||
---------------
|
---------------
|
||||||
=====================================================================
|
=================================================================
|
||||||
|
|
||||||
[[example-2]]
|
[[example-2]]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue