aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/ircbot/Sourcehut/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ircbot/Sourcehut/config.py')
-rw-r--r--contrib/ircbot/Sourcehut/config.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/ircbot/Sourcehut/config.py b/contrib/ircbot/Sourcehut/config.py
new file mode 100644
index 00000000..38e55427
--- /dev/null
+++ b/contrib/ircbot/Sourcehut/config.py
@@ -0,0 +1,14 @@
+from supybot import conf, registry
+try:
+ from supybot.i18n import PluginInternationalization
+ _ = PluginInternationalization('Sourcehut')
+except:
+ _ = lambda x: x
+
+
+def configure(advanced):
+ from supybot.questions import expect, anything, something, yn
+ conf.registerPlugin('Sourcehut', True)
+
+
+Sourcehut = conf.registerPlugin('Sourcehut')