Various Fixes.
generified the Worldboss module; removed the spammy-section as of currently, will be readded at a later stage.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import time
|
||||
#import time
|
||||
|
||||
from core.chat_blob import ChatBlob
|
||||
from core.command_param_types import Const, Character, Options, Any
|
||||
|
||||
@@ -85,7 +85,7 @@ class OrgChannelController:
|
||||
if not self.bot.is_ready():
|
||||
return
|
||||
main = self.account_service.get_account(event_data.char_info.char_id)
|
||||
alt = f":: Alt of <highlight>{main.name}</highlight> " if event_data.account else ""
|
||||
alt = f":: Alt of <highlight>{main.name}</highlight> " if event_data.account and main.name else ""
|
||||
if main.char_id == event_data.char_info.char_id:
|
||||
alt = ""
|
||||
logon = f" :: <grey>{event_data.account.logon}<grey>" if event_data.account.logon else ""
|
||||
|
||||
Reference in New Issue
Block a user