Compare commits
4 Commits
1ac164b860
...
5038582406
Author | SHA1 | Date |
---|---|---|
|
5038582406 | |
|
0a7ffc29d1 | |
|
047e807fc0 | |
|
14d432ebd4 |
|
@ -165,7 +165,7 @@ class Plugin:
|
|||
"""
|
||||
from ..controller import pluginController
|
||||
|
||||
return pluginController.set_setting(self.name, name, value)
|
||||
return pluginController.set_setting(self.id, name, value)
|
||||
|
||||
def notify(self, user, text: str, data=None):
|
||||
"""Create a new notification for an user
|
||||
|
@ -181,7 +181,7 @@ class Plugin:
|
|||
"""
|
||||
from ..controller import pluginController
|
||||
|
||||
return pluginController.notify(self.name, user, text, data)
|
||||
return pluginController.notify(self.id, user, text, data)
|
||||
|
||||
def serialize(self):
|
||||
"""Serialize a plugin into a dict
|
||||
|
|
Loading…
Reference in New Issue