summaryrefslogtreecommitdiffstats
path: root/config.py
diff options
context:
space:
mode:
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.""")))