Require that plugins set a self.server attribute

This commit is contained in:
Ben 2019-04-22 01:15:24 +01:00
parent a19fe8748c
commit 377a8094a2

View File

@ -27,3 +27,7 @@ class IPlugin(ABC):
""" """
Called when the plugin is ready to function. Called when the plugin is ready to function.
""" """
@abstractmethod
def __init__(self, server):
self.server = server