get rid of the MessageDistributor module... & update discord, to work with API v10
Added discord commands (issue: as they're running over the event hub, they're processed on the same track as other events. => activity ingame triggers the next run; otherwise there's some delay for responses) relay is a standard module now.
This commit is contained in:
@@ -135,6 +135,12 @@
|
||||
"en_US": "Could not find setting <highlight>{setting}</highlight>.",
|
||||
"de_DE": "Die Einstellung <highlight>{setting}</highlight> wurde nicht gefunden."
|
||||
},
|
||||
|
||||
"setting_owner": {
|
||||
"en_US": "Setting owned by module: <highlight>{value}</highlight>\n",
|
||||
"de_DE": "Diese Einstellung gehört zu dem Modul: <highlight>{value}</highlight>\n"
|
||||
|
||||
},
|
||||
"current_value": {
|
||||
"en_US": "Current Value: <highlight>{value}</highlight>\n",
|
||||
"de_DE": "Aktueller Wert: <highlight>{value}</highlight>\n"
|
||||
|
||||
@@ -160,6 +160,7 @@ class ConfigController:
|
||||
setting = self.setting_service.get(setting_name)
|
||||
|
||||
if setting:
|
||||
blob += self.getresp("module/config", "setting_owner", {"value": str(setting.module)})
|
||||
blob += self.getresp("module/config", "current_value", {"value": str(setting.get_display_value())})
|
||||
blob += self.getresp("module/config", "description", {"desc": setting.get_description()})
|
||||
if setting.get_extended_description():
|
||||
|
||||
Reference in New Issue
Block a user