mirror of
https://github.com/kuitoi/kuitoi-Server.git
synced 2026-10-25 21:50:06 +00:00
[!] Fastfix
This commit is contained in:
1 parent
b4b3953194
commit
666a76201e
1 file changed
+1
-1
+1
-1
@@ -130,7 +130,7 @@ class Client:
|
|||||||
if not message:
|
if not message:
|
||||||
message = "no message"
|
message = "no message"
|
||||||
to_all = False
|
to_all = False
|
||||||
await self._send(f"C:{message!r}", to_all=to_all)
|
await self._send(f"C:{message}", to_all=to_all)
|
||||||
|
|
||||||
async def send_event(self, event_name, event_data, to_all=True):
|
async def send_event(self, event_name, event_data, to_all=True):
|
||||||
if isinstance(event_data, (list, tuple, dict)):
|
if isinstance(event_data, (list, tuple, dict)):
|
||||||
|
|||||||
Reference in new issue
Block a user