mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-11-07 17:36:00 +00:00
Made variables global
Made Ldefault,Udefault variables global in new_chat function
This commit is contained in:
parent
6b66c44167
commit
6e5964a01b
1 changed files with 1 additions and 0 deletions
|
|
@ -257,6 +257,7 @@ def new_chat_message(msg: Union[str, ba.Lstr], clients: Sequence[int] = None, se
|
|||
old_fcm(msg, clients, sender_override)
|
||||
if msg == 'ml':
|
||||
try:
|
||||
global Ldefault,Udefault
|
||||
Ldefault, Udefault = ba.app.config.get("moodlightingSettings")
|
||||
SettingWindow()
|
||||
cprint("Mood light settings opened")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue