diff --git a/src/bot/config/appsettings.development.json b/src/bot/config/appsettings.development.json index 9812f840f5..7c9cfff056 100644 --- a/src/bot/config/appsettings.development.json +++ b/src/bot/config/appsettings.development.json @@ -20,5 +20,38 @@ "DiscordBot": { "Token": "OTk4MTU5NjczODkzMDYwNzM4.GN3QyA.yvWO6L7Eu36gXQ7ARDs0Jg2J1VqIDnHLou5lT4", "Prefix": "!kd " + }, + "Bot": { + "910199451145076828": { + "MessageDeleteTimer": 6 + } + }, + "Base": { + "910199451145076828": { + "MaxVoiceStateHours": 24, + "XpPerMessage": 2, + "XpPerOntimeHour": 4, + "AFKChannelIds": [ + 910199452915093593, + 910199452915093594 + ], + "AFKCommandChannelId": 910199452915093594, + "HelpCommandReferenceUrl": "https://docs.sh-edraft.de/kdb/" + } + }, + "BootLog": { + "910199451145076828": { + "LoginMessageChannelId": "910199452915093588" + } + }, + "Permission": { + "910199451145076828": { + "AdminRoleIds": [ + 925072155203477584 + ], + "ModeratorRoleIds": [ + 925072209884635167 + ] + } } } \ No newline at end of file diff --git a/src/bot/config/appsettings.edrafts-lapi.json b/src/bot/config/appsettings.edrafts-lapi.json index 5da5305b7b..85bb0f2f33 100644 --- a/src/bot/config/appsettings.edrafts-lapi.json +++ b/src/bot/config/appsettings.edrafts-lapi.json @@ -20,9 +20,6 @@ "Prefix": "!kde " }, "Bot": { - "511824600884051979": { - "MessageDeleteTimer": 2 - }, "910199451145076828": { "MessageDeleteTimer": 2 } @@ -37,7 +34,7 @@ 910199452915093594 ], "AFKCommandChannelId": 910199452915093594, - "HelpCommandReferenceUrl": "https://git.sh-edraft.de/sh-edraft.de/sh_gismo/wiki/Befehle" + "HelpCommandReferenceUrl": "https://docs.sh-edraft.de/kdb/" } }, "BootLog": { diff --git a/src/bot/config/appsettings.production.json b/src/bot/config/appsettings.production.json index 50c1108e8f..b70482dd47 100644 --- a/src/bot/config/appsettings.production.json +++ b/src/bot/config/appsettings.production.json @@ -16,5 +16,62 @@ "Languages": [ "de" ] + }, + "Bot": { + "650366049023295514": { + "MessageDeleteTimer": 2 + }, + "910199451145076828": { + "MessageDeleteTimer": 2 + } + }, + "Base": { + "650366049023295514": { + "MaxVoiceStateHours": 24, + "XpPerMessage": 2, + "XpPerOntimeHour": 4, + "AFKChannelIds": [ + 784530469290246145 + ], + "AFKCommandChannelId": 784530469290246145, + "HelpCommandReferenceUrl": "https://docs.sh-edraft.de/kdb/" + }, + "910199451145076828": { + "MaxVoiceStateHours": 24, + "XpPerMessage": 2, + "XpPerOntimeHour": 4, + "AFKChannelIds": [ + 910199452915093593, + 910199452915093594 + ], + "AFKCommandChannelId": 910199452915093594, + "HelpCommandReferenceUrl": "https://docs.sh-edraft.de/kdb/" + } + }, + "BootLog": { + "650366049023295514": { + "LoginMessageChannelId": "998544927094997093" + }, + "910199451145076828": { + "LoginMessageChannelId": "910199452915093588" + } + }, + "Permission": { + "650366049023295514": { + "AdminRoleIds": [ + 666129320481128479 + ], + "ModeratorRoleIds": [ + 998161580669804565 + ] + }, + "910199451145076828": { + "AdminRoleIds": [ + 925072155203477584 + ], + "ModeratorRoleIds": [ + 925072209884635167 + ] + } } } \ No newline at end of file diff --git a/src/bot/config/appsettings.staging.json b/src/bot/config/appsettings.staging.json index e9139b66da..13f7f7ffa4 100644 --- a/src/bot/config/appsettings.staging.json +++ b/src/bot/config/appsettings.staging.json @@ -17,8 +17,37 @@ "de" ] }, - "Discord": { - "Token": "OTk4MTU5ODAyMzkzOTY0NTk0.G4rLkF.uBQ9pW8X1Lm5agHqvBfzf7qEf8Ton-3a1oJPmY", - "Prefix": "!kdt " + "Bot": { + "910199451145076828": { + "MessageDeleteTimer": 4 + } + }, + "Base": { + "910199451145076828": { + "MaxVoiceStateHours": 24, + "XpPerMessage": 2, + "XpPerOntimeHour": 4, + "AFKChannelIds": [ + 910199452915093593, + 910199452915093594 + ], + "AFKCommandChannelId": 910199452915093594, + "HelpCommandReferenceUrl": "https://docs.sh-edraft.de/kdb/" + } + }, + "BootLog": { + "910199451145076828": { + "LoginMessageChannelId": "910199452915093588" + } + }, + "Permission": { + "910199451145076828": { + "AdminRoleIds": [ + 925072155203477584 + ], + "ModeratorRoleIds": [ + 925072209884635167 + ] + } } } \ No newline at end of file diff --git a/src/bot_core/__init__.py b/src/bot_core/__init__.py index 425ab6c146..72c0622f40 100644 --- a/src/bot_core/__init__.py +++ b/src/bot_core/__init__.py @@ -1 +1,26 @@ +# -*- coding: utf-8 -*- + +""" +bot Keksdose bot +~~~~~~~~~~~~~~~~~~~ + +Discord bot for the Keksdose discord Server + +:copyright: (c) 2022 sh-edraft.de +:license: MIT, see LICENSE for more details. + +""" + +__title__ = 'bot_core' +__author__ = 'Sven Heidemann' +__license__ = 'MIT' +__copyright__ = 'Copyright (c) 2022 sh-edraft.de' +__version__ = '1.0.0.dev1' + +from collections import namedtuple + + # imports + +VersionInfo = namedtuple('VersionInfo', 'major minor micro') +version_info = VersionInfo(major='1', minor='0', micro='0.dev1') diff --git a/src/bot_core/pipes/__init__.py b/src/bot_core/pipes/__init__.py index 425ab6c146..d3090a0a23 100644 --- a/src/bot_core/pipes/__init__.py +++ b/src/bot_core/pipes/__init__.py @@ -1 +1,26 @@ +# -*- coding: utf-8 -*- + +""" +bot Keksdose bot +~~~~~~~~~~~~~~~~~~~ + +Discord bot for the Keksdose discord Server + +:copyright: (c) 2022 sh-edraft.de +:license: MIT, see LICENSE for more details. + +""" + +__title__ = 'bot_core.pipes' +__author__ = 'Sven Heidemann' +__license__ = 'MIT' +__copyright__ = 'Copyright (c) 2022 sh-edraft.de' +__version__ = '1.0.0.dev1' + +from collections import namedtuple + + # imports + +VersionInfo = namedtuple('VersionInfo', 'major minor micro') +version_info = VersionInfo(major='1', minor='0', micro='0.dev1')