From 6fd6420899826f231496c6c273f9cf2191c08b45 Mon Sep 17 00:00:00 2001 From: Pratyush Desai Date: Sun, 16 Jun 2024 23:47:49 +0530 Subject: Add the prev build in branch for ref Signed-off-by: Pratyush Desai --- config.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'config.py') 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."""))) -- cgit v1.2.3