l 1 prism: do more stuff in #coders
This commit is contained in:
parent
705bf2c5e3
commit
f07d696cd8
@ -314,6 +314,39 @@ in {
|
|||||||
-e "@kind $1"
|
-e "@kind $1"
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
(buildSimpleReaktorPlugin "lambdabot-kind" {
|
||||||
|
pattern = "^@kind (?P<args>.*)$$";
|
||||||
|
script = pkgs.writeDash "lambda-kind" ''
|
||||||
|
exec ${pkgs.lambdabot}/bin/lambdabot \
|
||||||
|
${indent lambdabotflags}
|
||||||
|
-e "@kind $1"
|
||||||
|
'';
|
||||||
|
})
|
||||||
|
(buildSimpleReaktorPlugin "random-unicorn-porn" {
|
||||||
|
pattern = "^!rup$$";
|
||||||
|
script = pkgs.writePython2 "rup" ''
|
||||||
|
#!${pkgs.python2}/bin/python
|
||||||
|
t1 = """
|
||||||
|
_.
|
||||||
|
;=',_ ()
|
||||||
|
8===D~~ S" .--`||
|
||||||
|
sS \__ ||
|
||||||
|
__.' ( \-->||
|
||||||
|
_=/ _./-\/ ||
|
||||||
|
8===D~~ ((\( /-' -'l ||
|
||||||
|
) |/ \\ (_))
|
||||||
|
\\ \\
|
||||||
|
'~ '~
|
||||||
|
"""
|
||||||
|
print(t1)
|
||||||
|
'';
|
||||||
|
})
|
||||||
|
(buildSimpleReaktorPlugin "ping" {
|
||||||
|
pattern = "^!ping (?P<args>.*)$$";
|
||||||
|
script = pkgs.writeDash "ping" ''
|
||||||
|
exec /var/setuid-wrappers/ping -q -c1 "$1" 2>&1 | tail -1
|
||||||
|
'';
|
||||||
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user