Added the option to !opt-in/opt-out [onlinebot only]
Fixed command & event threading Events are now threaded by event_type (i.e. all buddy_logon events get ran in the same one) Added default preferences Fixed recipe loading for multiple installs (i.e. on different machines)
This commit is contained in:
@@ -35,13 +35,12 @@ class OnlineDisplay:
|
||||
blob, org, priv, notify = online
|
||||
postfix = []
|
||||
if org > 0:
|
||||
postfix.append(f"Org: {org}")
|
||||
postfix.append(f"<notice>Org: {org}</notice>")
|
||||
if priv > 0:
|
||||
postfix.append(f"Priv: {priv}")
|
||||
postfix.append(f"<highlight>Priv: {priv}</notice>")
|
||||
if notify > 0:
|
||||
postfix.append(f"Buddylist: {notify}")
|
||||
blob = ChatBlob(title, blob)
|
||||
blob.page_postfix = f" ({f', '.join(postfix)})"
|
||||
postfix.append(f"<notice>Buddylist: {notify}</notice>")
|
||||
blob = ChatBlob(title, blob, suffix=f" ({f', '.join(postfix)})")
|
||||
return blob
|
||||
|
||||
def format_by_channel_main(self, query, params):
|
||||
|
||||
Reference in New Issue
Block a user