summaryrefslogtreecommitdiffstats
path: root/config.py
diff options
context:
space:
mode:
authorPratyush Desai2024-06-16 23:47:49 +0530
committerPratyush Desai2024-06-16 23:47:49 +0530
commit6fd6420899826f231496c6c273f9cf2191c08b45 (patch)
tree71112341cb1575b86dad4065bd952e9dd8271627 /config.py
parentcc15b8fc9b4f047f30b56a8c56c6b589d145d4c5 (diff)
downloaddoselogging-6fd6420899826f231496c6c273f9cf2191c08b45.tar.gz
doselogging-6fd6420899826f231496c6c273f9cf2191c08b45.tar.bz2
doselogging-6fd6420899826f231496c6c273f9cf2191c08b45.zip
Add the prev build in branch for ref
Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
Diffstat (limited to 'config.py')
-rw-r--r--config.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/config.py b/config.py
index 4f3f9da..136b9b0 100644
--- a/config.py
+++ b/config.py
@@ -1,5 +1,5 @@
###
-# Copyright (c) 2021, Pratyush Desai
+# Copyright (c) 2020, mogad0n
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -29,9 +29,11 @@
###
from supybot import conf, registry
+
try:
from supybot.i18n import PluginInternationalization
- _ = PluginInternationalization('DoseLogs')
+
+ _ = PluginInternationalization("Tripsit")
except:
# Placeholder that allows to run the plugin on a bot
# without the i18n module
@@ -44,12 +46,13 @@ def configure(advanced):
# user or not. You should effect your configuration by manipulating the
# registry as appropriate.
from supybot.questions import expect, anything, something, yn
- conf.registerPlugin('DoseLogs', True)
+
+ conf.registerPlugin("Tripsit", True)
-DoseLogs = conf.registerPlugin('DoseLogs')
+Tripsit = conf.registerPlugin("Tripsit")
# This is where your configuration variables (if any) should go. For example:
-# conf.registerGlobalValue(DoseLogs, 'someConfigVariableName',
+# conf.registerGlobalValue(Tripsit, 'someConfigVariableName',
# registry.Boolean(False, _("""Help for someConfigVariableName.""")))