rua
This commit is contained in:
parent
df616d8b53
commit
6200a18b82
|
@ -208,7 +208,7 @@ async def add_message(data: Dict[str, Any]):
|
||||||
reply_to=reply,
|
reply_to=reply,
|
||||||
room_id=room_id)
|
room_id=room_id)
|
||||||
|
|
||||||
await asyncio.sleep(0.5)
|
await asyncio.sleep(random.random() * 2)
|
||||||
await sio.emit('sendMessage', message.to_json())
|
await sio.emit('sendMessage', message.to_json())
|
||||||
elif data['message']['content'] == 'jrrp':
|
elif data['message']['content'] == 'jrrp':
|
||||||
randomer = random.Random(f'{sender_id}-{data["message"]["date"]}-jrrp')
|
randomer = random.Random(f'{sender_id}-{data["message"]["date"]}-jrrp')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user