diff --git a/luckydiamond/src/components/ChatComponent.vue b/luckydiamond/src/components/ChatComponent.vue index e906c17..a73a836 100644 --- a/luckydiamond/src/components/ChatComponent.vue +++ b/luckydiamond/src/components/ChatComponent.vue @@ -68,11 +68,11 @@ export default { }, ClaimDatamsg(msg) { const now = Date.now(); - if (!this.lastMsgTime || now - this.lastMsgTime >= 2000) { + if (!this.lastMsgTime || now - this.lastMsgTime >= 100) { SendMessageToChat(msg[0]); this.lastMsgTime = now; } else { - alert("Вы не можете отправлять сообщения чаще, чем раз в 2 секунды."); + alert("Вы не можете отправлять сообщения так часто"); } }, muteChat() {