diff options
| author | jason | 2016-08-18 19:43:14 -0600 |
|---|---|---|
| committer | jason | 2016-08-18 19:43:14 -0600 |
| commit | a6b4e3c30e27cd847e56edf18a32a3f460bc0052 (patch) | |
| tree | d21e7498885fc47b35abde4ea05b915c847df70d /README.org | |
| parent | 4518daba36678f52330513ec1fec82a44340fa81 (diff) | |
| download | warmachine-ng-a6b4e3c30e27cd847e56edf18a32a3f460bc0052.tar.gz warmachine-ng-a6b4e3c30e27cd847e56edf18a32a3f460bc0052.zip | |
try to fix the timeout detection hack
Diffstat (limited to 'README.org')
| -rw-r--r-- | README.org | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -34,7 +34,7 @@ tasks to be run later. | |||
| 34 | The directory to store any configuration files and other junk in. | 34 | The directory to store any configuration files and other junk in. |
| 35 | ** ~self.log~ | 35 | ** ~self.log~ |
| 36 | This is a logger that you should use when logging messages. | 36 | This is a logger that you should use when logging messages. |
| 37 | ** ~recv_msg(channel, message)~ | 37 | ** ~self.recv_msg(channel, message)~ |
| 38 | ~recv_msg~ is the only required method for a plugin. It is called for every | 38 | ~recv_msg~ is the only required method for a plugin. It is called for every |
| 39 | plugin every time a connection receives a message. It takes the arguments | 39 | plugin every time a connection receives a message. It takes the arguments |
| 40 | ~connection~ and ~message~. ~connection~ is the Connection object which allows | 40 | ~connection~ and ~message~. ~connection~ is the Connection object which allows |
| @@ -71,7 +71,7 @@ async def recv_msg(connection, message): | |||
| 71 | # Repeat the remainder of the received message | 71 | # Repeat the remainder of the received message |
| 72 | await connection.say(msg_to_repeat, message['channel']) | 72 | await connection.say(msg_to_repeat, message['channel']) |
| 73 | #+END_SRC | 73 | #+END_SRC |
| 74 | ** ~on_connect(connection)~ | 74 | ** ~self.on_connect(connection)~ |
| 75 | This method is called when a connection successfully connects and takes the | 75 | This method is called when a connection successfully connects and takes the |
| 76 | single argument ~connection~. Use this method to do any start up initialization | 76 | single argument ~connection~. Use this method to do any start up initialization |
| 77 | you may want to do such as create configuration files that don't exist yet. | 77 | you may want to do such as create configuration files that don't exist yet. |