fix
This commit is contained in:
parent
3cd621d350
commit
e09f4e970c
@ -161,7 +161,7 @@ class NoteTaking:
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
requires = [
|
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):
|
def __init__(self, bot):
|
||||||
|
@ -56,6 +56,10 @@ def truncate(text, length=50):
|
|||||||
class UserActivityTracker:
|
class UserActivityTracker:
|
||||||
"""IRC bot plugin to track and report user activity using TinyDB."""
|
"""IRC bot plugin to track and report user activity using TinyDB."""
|
||||||
|
|
||||||
|
requires = [
|
||||||
|
'plugins.users',
|
||||||
|
]
|
||||||
|
|
||||||
def __init__(self, bot):
|
def __init__(self, bot):
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
self.db = TinyDB('seen.json')
|
self.db = TinyDB('seen.json')
|
||||||
|
Loading…
Reference in New Issue
Block a user