From 26963b2bef11ac065d8d5b7ffbb256dee7701346 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sat, 8 Jan 2022 19:19:34 +0100 Subject: [PATCH] Build application --- src/gismo/gismo.json | 3 ++- src/modules/permission/__init__.py | 24 ++++++++++++++++++ src/modules/permission/abc/__init__.py | 24 ++++++++++++++++++ .../permission/configuration/__init__.py | 25 +++++++++++++++++++ src/modules/permission/permission.py | 4 +-- src/modules/permission/service/__init__.py | 24 ++++++++++++++++++ 6 files changed, 101 insertions(+), 3 deletions(-) diff --git a/src/gismo/gismo.json b/src/gismo/gismo.json index d613dc5..42498a7 100644 --- a/src/gismo/gismo.json +++ b/src/gismo/gismo.json @@ -49,7 +49,8 @@ "../gismo_data/gismo-data.json", "../modules/boot_log/boot-log.json", "../modules/base/base.json", - "../modules/database/database.json" + "../modules/database/database.json", + "../modules/permission/permission.json" ] } } \ No newline at end of file diff --git a/src/modules/permission/__init__.py b/src/modules/permission/__init__.py index 425ab6c..76fdbcf 100644 --- a/src/modules/permission/__init__.py +++ b/src/modules/permission/__init__.py @@ -1 +1,25 @@ +# -*- coding: utf-8 -*- + +""" +gismo sh-edraft Gismo +~~~~~~~~~~~~~~~~~~~ + +sh-edraft Dicord bot Gismo + +:copyright: (c) 2021 - 2022 sh-edraft.de +:license: MIT, see LICENSE for more details. + +""" + +__title__ = 'modules.permission' +__author__ = 'Sven Heidemann' +__license__ = 'MIT' +__copyright__ = 'Copyright (c) 2021 - 2022 sh-edraft.de' +__version__ = '0.4.3' + +from collections import namedtuple + # imports + +VersionInfo = namedtuple('VersionInfo', 'major minor micro') +version_info = VersionInfo(major='0', minor='4', micro='3') diff --git a/src/modules/permission/abc/__init__.py b/src/modules/permission/abc/__init__.py index 425ab6c..a33666a 100644 --- a/src/modules/permission/abc/__init__.py +++ b/src/modules/permission/abc/__init__.py @@ -1 +1,25 @@ +# -*- coding: utf-8 -*- + +""" +gismo sh-edraft Gismo +~~~~~~~~~~~~~~~~~~~ + +sh-edraft Dicord bot Gismo + +:copyright: (c) 2021 - 2022 sh-edraft.de +:license: MIT, see LICENSE for more details. + +""" + +__title__ = 'modules.permission.abc' +__author__ = 'Sven Heidemann' +__license__ = 'MIT' +__copyright__ = 'Copyright (c) 2021 - 2022 sh-edraft.de' +__version__ = '0.4.3' + +from collections import namedtuple + # imports + +VersionInfo = namedtuple('VersionInfo', 'major minor micro') +version_info = VersionInfo(major='0', minor='4', micro='3') diff --git a/src/modules/permission/configuration/__init__.py b/src/modules/permission/configuration/__init__.py index e69de29..e2d977d 100644 --- a/src/modules/permission/configuration/__init__.py +++ b/src/modules/permission/configuration/__init__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- + +""" +gismo sh-edraft Gismo +~~~~~~~~~~~~~~~~~~~ + +sh-edraft Dicord bot Gismo + +:copyright: (c) 2021 - 2022 sh-edraft.de +:license: MIT, see LICENSE for more details. + +""" + +__title__ = 'modules.permission.configuration' +__author__ = 'Sven Heidemann' +__license__ = 'MIT' +__copyright__ = 'Copyright (c) 2021 - 2022 sh-edraft.de' +__version__ = '0.4.3' + +from collections import namedtuple + +# imports + +VersionInfo = namedtuple('VersionInfo', 'major minor micro') +version_info = VersionInfo(major='0', minor='4', micro='3') diff --git a/src/modules/permission/permission.py b/src/modules/permission/permission.py index dcd3ab7..b769fe2 100644 --- a/src/modules/permission/permission.py +++ b/src/modules/permission/permission.py @@ -1,10 +1,10 @@ import discord - from cpl_core.logging import LoggerABC -from modules.permission.abc.permission_service_abc import PermissionServiceABC + from gismo_core.abc.events.on_member_update_abc import OnMemberUpdateABC from gismo_core.abc.events.on_ready_abc import OnReadyABC from gismo_core.abc.module_abc import ModuleABC +from modules.permission.abc.permission_service_abc import PermissionServiceABC from modules.permission.configuration.permission_settings import PermissionSettings diff --git a/src/modules/permission/service/__init__.py b/src/modules/permission/service/__init__.py index 425ab6c..2954e45 100644 --- a/src/modules/permission/service/__init__.py +++ b/src/modules/permission/service/__init__.py @@ -1 +1,25 @@ +# -*- coding: utf-8 -*- + +""" +gismo sh-edraft Gismo +~~~~~~~~~~~~~~~~~~~ + +sh-edraft Dicord bot Gismo + +:copyright: (c) 2021 - 2022 sh-edraft.de +:license: MIT, see LICENSE for more details. + +""" + +__title__ = 'modules.permission.service' +__author__ = 'Sven Heidemann' +__license__ = 'MIT' +__copyright__ = 'Copyright (c) 2021 - 2022 sh-edraft.de' +__version__ = '0.4.3' + +from collections import namedtuple + # imports + +VersionInfo = namedtuple('VersionInfo', 'major minor micro') +version_info = VersionInfo(major='0', minor='4', micro='3')