From 81f3c57f7039dfe5265dfaa768107d07bdbc3611 Mon Sep 17 00:00:00 2001 From: Someone Date: Sat, 3 Sep 2022 18:48:40 +0200 Subject: [PATCH] core/AbstractCommand.py --- core/AbstractCommand.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/AbstractCommand.py b/core/AbstractCommand.py index 9fd0afd..c77d594 100644 --- a/core/AbstractCommand.py +++ b/core/AbstractCommand.py @@ -69,7 +69,7 @@ class AbstractCommand(): def _on_register(self, bot): self.bot = bot - self.URL = self.bot.local_websrv_url+"/"+self.TEAM_ID+"/"+self.TRIGGER + self.URL = ("http://"+self.bot.local_websrv_hostname+":"+str(self.bot.local_websrv_port)+"/").strip("/")+"/"+self.TEAM_ID+"/"+self.TRIGGER if self.USEINFO: self.bot.USETOPICS.setdefault("/"+self.TRIGGER, self.USEINFO) self.on_register() -- 2.43.0