From e09f4e970ce730cb6e032c0663ab564232d4f32d Mon Sep 17 00:00:00 2001 From: Zodiac Date: Wed, 19 Feb 2025 00:11:44 -0800 Subject: [PATCH] fix --- plugins/notes.py | 2 +- plugins/seen.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/notes.py b/plugins/notes.py index 3f109b7..3f9d179 100644 --- a/plugins/notes.py +++ b/plugins/notes.py @@ -161,7 +161,7 @@ class NoteTaking: """ requires = [ - 'irc3.plugins.userlist', # Ensure userlist plugin is loaded, if using user-specific notes + 'plugins.users', # Ensure userlist plugin is loaded, if using user-specific notes ] def __init__(self, bot): diff --git a/plugins/seen.py b/plugins/seen.py index a6376f1..db7f512 100644 --- a/plugins/seen.py +++ b/plugins/seen.py @@ -56,6 +56,10 @@ def truncate(text, length=50): class UserActivityTracker: """IRC bot plugin to track and report user activity using TinyDB.""" + requires = [ + 'plugins.users', + ] + def __init__(self, bot): self.bot = bot self.db = TinyDB('seen.json')