From c45d8e1646dbe9a552fa35e95b8f6ae30d20a4a9 Mon Sep 17 00:00:00 2001 From: Vortex <75498823+hypervortex@users.noreply.github.com> Date: Sat, 29 Jun 2024 15:15:48 +0530 Subject: [PATCH] Update Main.py --- dist/ba_root/mods/chatHandle/ChatCommands/Main.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dist/ba_root/mods/chatHandle/ChatCommands/Main.py b/dist/ba_root/mods/chatHandle/ChatCommands/Main.py index 78e149c..c6817b8 100644 --- a/dist/ba_root/mods/chatHandle/ChatCommands/Main.py +++ b/dist/ba_root/mods/chatHandle/ChatCommands/Main.py @@ -135,10 +135,10 @@ def Command(msg, clientid): else: send(f"You need {tic}{cost_of_command} for that. You have {tic}{have_coins} only.", clientid) else: - _ba.screenmessage(u"\ue049|| \ue00cCOMMAND NOT FOR KIDS\ue00c ||\ue049", color=(1, 0, 0), transient=True, + _ba.screenmessage(u"\ue049|| \ue00cYou can't use this command\ue00c ||\ue049", color=(1, 0, 0), transient=True, clients=[clientid]) else: - _ba.screenmessage(u"\ue049|| \ue00cCOMMAND NOT FOR KIDS\ue00c ||\ue049", color=(1, 0, 0), transient=True, + _ba.screenmessage(u"\ue049|| \ue00cYou can't use this command\ue00c ||\ue049", color=(1, 0, 0), transient=True, clients=[clientid]) @@ -159,10 +159,10 @@ def Command(msg, clientid): else: send(f"You need {tic}{cost_of_command} for that. You have {tic}{have_coins} only.", clientid) else: - _ba.screenmessage(u"\ue049|| \ue00cCOMMAND NOT FOR KIDS\ue00c ||\ue049", color=(1, 0, 0), transient=True, + _ba.screenmessage(u"\ue049|| \ue00cYou can't use this command\ue00c ||\ue049", color=(1, 0, 0), transient=True, clients=[clientid]) else: - _ba.screenmessage(u"\ue049|| \ue00cCOMMAND NOT FOR KIDS\ue00c ||\ue049", color=(1, 0, 0), transient=True, + _ba.screenmessage(u"\ue049|| \ue00cYou can't use this commandS\ue00c ||\ue049", color=(1, 0, 0), transient=True, clients=[clientid]) @@ -183,10 +183,10 @@ def Command(msg, clientid): else: send(f"You need {tic}{cost_of_command} for that. You have {tic}{have_coins} only.", clientid) else: - _ba.screenmessage(u"\ue049|| \ue00cCOMMAND NOT FOR KIDS\ue00c ||\ue049", color=(1, 0, 0), transient=True, + _ba.screenmessage(u"\ue049|| \ue00cYou can't use this command\ue00c ||\ue049", color=(1, 0, 0), transient=True, clients=[clientid]) else: - _ba.screenmessage(u"\ue049|| \ue00cCOMMAND NOT FOR KIDS\ue00c ||\ue049", color=(1, 0, 0), transient=True, + _ba.screenmessage(u"\ue049|| \ue00cYou can't use this command\ue00c ||\ue049", color=(1, 0, 0), transient=True, clients=[clientid]) now = datetime.now() if accountid in pdata.get_blacklist()["muted-ids"] and now < datetime.strptime(pdata.get_blacklist()["muted-ids"][accountid]["till"], "%Y-%m-%d %H:%M:%S"):