Removed all references which were still left regarding Tyrbot.
This commit is contained in:
@@ -11,7 +11,7 @@ from core.lookup.character_service import CharacterService
|
||||
from core.setting_service import SettingService
|
||||
from core.setting_types import DictionarySettingType
|
||||
from core.text import Text
|
||||
from core.igncore import Tyrbot
|
||||
from core.igncore import IgnCore
|
||||
|
||||
|
||||
# noinspection DuplicatedCode
|
||||
@@ -24,7 +24,7 @@ class AllianceRelay:
|
||||
self.relay_channel = []
|
||||
|
||||
def inject(self, registry):
|
||||
self.bot: Tyrbot = registry.get_instance("bot")
|
||||
self.bot: IgnCore = registry.get_instance("bot")
|
||||
self.setting_service: SettingService = registry.get_instance("setting_service")
|
||||
self.character_service: CharacterService = registry.get_instance("character_service")
|
||||
self.message_hub_service = registry.get_instance("message_hub_service")
|
||||
@@ -230,8 +230,8 @@ class AllianceRelay:
|
||||
return f"The relay status of {self.character_service.get_char_name(int(bot))} is already {option}"
|
||||
current[bot] = option
|
||||
self.relay_enabled().set_value(current)
|
||||
return f"Successfully changed the symbol for relaying messages to " \
|
||||
f"<highlight>{self.character_service.get_char_name(int(bot))}</highlight>: <highlight>{option}</highlight>"
|
||||
return f"Successfully changed the status of the relay " \
|
||||
f"<highlight>{self.character_service.get_char_name(int(bot))}</highlight> to: <highlight>{option}</highlight>"
|
||||
|
||||
@command(command="mrelay", params=[Const("color"), Character("relaybot_name"), Options(["base", "sender", "org", "msg"]), Any("color_code", is_optional=True)], access_level="admin",
|
||||
description="Change the color settings of the relays")
|
||||
|
||||
Reference in New Issue
Block a user