repo.or.cz
/
pyIRCbot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added the irclog django project
[pyIRCbot.git]
/
plugins
/
demo_plugin.py
blob
0688102197736f4798a766384166c56ec2e5b57b
1
from
pprint
import
pprint
2
3
4
class
Demo
(
object
):
5
"""This is demo plugin, that is showing how the plugins should have beed
6
written.
7
"""
8
def
__init__
(
self
):
9
print
"Demo plugin loaded."
10
11
def
__call__
(
self
,
server
):
12
"""What to do when running plugin."""
13
print
"-+-"
*
20
14
pprint
(
server
.
msg_data
)