This commit is contained in:
Zodiac 2025-02-19 00:11:44 -08:00
parent 3cd621d350
commit e09f4e970c
2 changed files with 5 additions and 1 deletions

View File

@ -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):

View File

@ -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')