diff --git a/chat-plugins/roomsettings.js b/chat-plugins/roomsettings.js index 45c35dcd9f207..ef1c5f1dac27b 100644 --- a/chat-plugins/roomsettings.js +++ b/chat-plugins/roomsettings.js @@ -410,14 +410,12 @@ exports.commands = { if (this.meansNo(target)) { if (!room.slowchat) return this.errorReply(`Slow chat is already disabled in this room.`); room.slowchat = false; - this.add("|raw|
Slow chat was disabled!
There is no longer a set minimum time between messages.
"); } else if (targetInt) { if (!user.can('bypassall') && room.userCount < SLOWCHAT_USER_REQUIREMENT) return this.errorReply(`This room must have at least ${SLOWCHAT_USER_REQUIREMENT} users to set slowchat; it only has ${room.userCount} right now.`); if (room.slowchat === targetInt) return this.errorReply(`Slow chat is already set to ${room.slowchat} seconds in this room.`); if (targetInt < SLOWCHAT_MINIMUM) targetInt = SLOWCHAT_MINIMUM; if (targetInt > SLOWCHAT_MAXIMUM) targetInt = SLOWCHAT_MAXIMUM; room.slowchat = targetInt; - this.add(`|raw|
Slow chat was enabled!
Messages must have at least ${room.slowchat} seconds between them.
`); } else { return this.parse("/help slowchat"); }