remove or
parent
6449f17864
commit
da0dc3576e
|
@ -101,8 +101,6 @@ def test_plugin(msg):
|
||||||
return pinhook.plugin.message('This was run by an op!')
|
return pinhook.plugin.message('This was run by an op!')
|
||||||
```
|
```
|
||||||
|
|
||||||
**OR**
|
|
||||||
|
|
||||||
The plugin function can return one of the following in order to give a response to the command:
|
The plugin function can return one of the following in order to give a response to the command:
|
||||||
* `pinhook.plugin.message`: basic message in channel where command was triggered
|
* `pinhook.plugin.message`: basic message in channel where command was triggered
|
||||||
* `pinhook.plugin.action`: CTCP action in the channel where command was triggered (basically like using `/me does a thing`)
|
* `pinhook.plugin.action`: CTCP action in the channel where command was triggered (basically like using `/me does a thing`)
|
||||||
|
|
|
@ -143,8 +143,6 @@ The function will need to be structured as such:
|
||||||
def test_plugin(msg):
|
def test_plugin(msg):
|
||||||
return pinhook.plugin.message('This was run by an op!')
|
return pinhook.plugin.message('This was run by an op!')
|
||||||
|
|
||||||
**OR**
|
|
||||||
|
|
||||||
The plugin function can return one of the following in order to give a
|
The plugin function can return one of the following in order to give a
|
||||||
response to the command:
|
response to the command:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue