aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/watchchannels/watchchannel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/watchchannels/watchchannel.py b/bot/cogs/watchchannels/watchchannel.py
index 46b20b4f0..9f67367fc 100644
--- a/bot/cogs/watchchannels/watchchannel.py
+++ b/bot/cogs/watchchannels/watchchannel.py
@@ -230,7 +230,7 @@ class WatchChannel(ABC):
if (
msg.author.id != self.message_history.last_author
or msg.channel.id != self.message_history.last_channel
- or self.message_history.count >= limit
+ or self.message_history.message_count >= limit
):
self.message_history = MessageHistory(last_author=msg.author.id, last_channel=msg.channel.id)