Open moggers87 opened 6 years ago
This core plugin has at least 3 ways it can call event handlers from plugins:
connection.hooker.hook(connection, info)
connection.handler.event(event)
connection.core["Coreexecutor"].main(connection, info, info.plugin_name)
This mess needs to be cleaned up and we should use one system for everything.
@xray7224 choose one and I can convert everything to use that ☺
This core plugin has at least 3 ways it can call event handlers from plugins:
connection.hooker.hook(connection, info)
which is labelled as "old system"connection.handler.event(event)
which is labelled as "new events/hook system"connection.core["Coreexecutor"].main(connection, info, info.plugin_name)
which is labelled as new or oldThis mess needs to be cleaned up and we should use one system for everything.