Introduce MOD_HEADER in all modules. impact modules.py, definition.py, unreal6 protocol.

This commit is contained in:
adator
2025-11-10 23:09:13 +01:00
parent 371c8fb5f1
commit 511e0c0715
10 changed files with 104 additions and 47 deletions

View File

@@ -15,12 +15,12 @@ class Jsonrpc(IModule):
"""
jsonrpc: int = 0
MOD_HEADER: set[str] = {
'JsonRPC',
'1.0.0',
'Module using the unrealircd-rpc-py library',
'Defender Team',
'Defender-6'
MOD_HEADER: dict[str, str] = {
'name':'JsonRPC',
'version':'1.0.0',
'description':'Module using the unrealircd-rpc-py library',
'author':'Defender Team',
'core_version':'Defender-6'
}
def callback_sent_to_irc(self, response: LiveRPCResult) -> None: