summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/Reaktor
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-12-16 15:46:23 +0100
committerlassulus <lass@aidsballs.de>2015-12-16 15:46:23 +0100
commit07f4510ad0bff0f9d72e5dcee279a30a0d5f8da3 (patch)
tree5848f7727500895df71a523a3405087448ba9e4a /makefu/2configs/Reaktor
parentd94784efbecbd437ec6268bb9bfca57a8088d6e8 (diff)
parent8f18b00ab141df92b7df4725a18bb3283b184d76 (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/Reaktor')
-rw-r--r--makefu/2configs/Reaktor/full.nix18
-rw-r--r--makefu/2configs/Reaktor/sed-plugin.nix2
2 files changed, 19 insertions, 1 deletions
diff --git a/makefu/2configs/Reaktor/full.nix b/makefu/2configs/Reaktor/full.nix
new file mode 100644
index 000000000..50620890f
--- /dev/null
+++ b/makefu/2configs/Reaktor/full.nix
@@ -0,0 +1,18 @@
+_:
+{
+ # implementation of the complete Reaktor bot
+ imports = [
+ #./stockholmLentil.nix
+ ./simpleExtend.nix
+ ./random-emoji.nix
+ ./titlebot.nix
+ ./shack-correct.nix
+ ./sed-plugin.nix
+ ];
+ krebs.Reaktor.nickname = "Reaktor|bot";
+ krebs.Reaktor.enable = true;
+
+ krebs.Reaktor.extraEnviron = {
+ REAKTOR_CHANNELS = "#krebs,#binaergewitter,#shackspace";
+ };
+}
diff --git a/makefu/2configs/Reaktor/sed-plugin.nix b/makefu/2configs/Reaktor/sed-plugin.nix
index 1ec977116..a451e0d3e 100644
--- a/makefu/2configs/Reaktor/sed-plugin.nix
+++ b/makefu/2configs/Reaktor/sed-plugin.nix
@@ -7,7 +7,7 @@ in {
#TODO: this will eat up the last regex, fix Reaktor
krebs.Reaktor.extraConfig = ''
public_commands.append({
- 'capname' : "shack-correct",
+ 'capname' : "sed-plugin",
# only support s///gi
'pattern' : '^(?P<args>.*)$$',
'argv' : ["${pkgs.python3}/bin/python3","${script}"],