forked from sh-edraft.de/sh_discord_bot
		
	Removed configs
This commit is contained in:
		
							
								
								
									
										6
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| [submodule "kdb-bot/src/bot/config"] | ||||
| 	path = kdb-bot/src/bot/config | ||||
| 	url = https://git.sh-edraft.de/sh-edraft.de/kd_discord_bot.config.git | ||||
| [submodule "kdb-bot/src/bot_api/config"] | ||||
| 	path = kdb-bot/src/bot_api/config | ||||
| 	url = https://git.sh-edraft.de/sh-edraft.de/kd_discord_bot.api.config.git | ||||
							
								
								
									
										9
									
								
								kdb-bot/LICENSE
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								kdb-bot/LICENSE
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| MIT License | ||||
|  | ||||
| Copyright (c) 2022-2023 sh-edraft.de | ||||
|  | ||||
| Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||||
|  | ||||
| The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||||
|  | ||||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||||
							
								
								
									
										2
									
								
								kdb-bot/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								kdb-bot/README.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| # kd_discord_bot | ||||
|  | ||||
							
								
								
									
										1
									
								
								kdb-bot/src/bot/config
									
									
									
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								kdb-bot/src/bot/config
									
									
									
									
									
										Submodule
									
								
							 Submodule kdb-bot/src/bot/config added at fb3afa7e74
									
								
							| @@ -1,86 +0,0 @@ | ||||
| { | ||||
|   "TimeFormatSettings": { | ||||
|     "DateFormat": "%Y-%m-%d", | ||||
|     "TimeFormat": "%H:%M:%S", | ||||
|     "DateTimeFormat": "%Y-%m-%d %H:%M:%S.%f", | ||||
|     "DateTimeLogFormat": "%Y-%m-%d_%H-%M-%S" | ||||
|   }, | ||||
|   "LoggingSettings": { | ||||
|     "Path": "logs/", | ||||
|     "Filename": "bot.log", | ||||
|     "ConsoleLogLevel": "TRACE", | ||||
|     "FileLogLevel": "TRACE" | ||||
|   }, | ||||
|   "BotLoggingSettings": { | ||||
|     "Command": { | ||||
|       "Path": "logs/", | ||||
|       "Filename": "commands.log", | ||||
|       "ConsoleLogLevel": "DEBUG", | ||||
|       "FileLogLevel": "TRACE" | ||||
|     }, | ||||
|     "Database": { | ||||
|       "Path": "logs/", | ||||
|       "Filename": "database.log", | ||||
|       "ConsoleLogLevel": "DEBUG", | ||||
|       "FileLogLevel": "TRACE" | ||||
|     }, | ||||
|     "Message": { | ||||
|       "Path": "logs/", | ||||
|       "Filename": "message.log", | ||||
|       "ConsoleLogLevel": "DEBUG", | ||||
|       "FileLogLevel": "TRACE" | ||||
|     } | ||||
|   }, | ||||
|   "DatabaseSettings": { | ||||
|     "Host": "localhost", | ||||
|     "User": "root", | ||||
|     "Password": "MTAwNjE5OTdOaWNrLko=", | ||||
|     "Database": "kd_kdb", | ||||
|     "Charset": "utf8mb4", | ||||
|     "UseUnicode": "true", | ||||
|     "Buffered": "true", | ||||
|     "AuthPlugin": "mysql_native_password" | ||||
|   }, | ||||
|   "DiscordBot": { | ||||
|     "Token": "MTAyOTgxMjE0Mjk4NTE5MTYxNA.G4ArAJ.sZh6pE-mwO2qDAr1mfHEoo7EwbJb-TZT8h6nGg", | ||||
|     "Prefix": "!kn " | ||||
|   }, | ||||
|   "Bot": { | ||||
|     "910199451145076828": { | ||||
|       "MessageDeleteTimer": 2 | ||||
|     }, | ||||
|     "Technicians": [ | ||||
|       240160344557879316 | ||||
|     ], | ||||
|     "WaitForRestart": 4, | ||||
|     "WaitForShutdown": 4 | ||||
|   }, | ||||
|   "Base": { | ||||
|     "910199451145076828": { | ||||
|       "MaxVoiceStateHours": 24, | ||||
|       "XpPerMessage": 2, | ||||
|       "XpPerOntimeHour": 4, | ||||
|       "AFKChannelIds": [ | ||||
|         910199452915093593, | ||||
|         910199452915093594 | ||||
|       ], | ||||
|       "AFKCommandChannelId": 910199452915093594, | ||||
|       "HelpCommandReferenceUrl": "https://git.sh-edraft.de/sh-edraft.de/kd_discord_bot/wiki/Befehle" | ||||
|     } | ||||
|   }, | ||||
|   "BootLog": { | ||||
|     "910199451145076828": { | ||||
|       "LoginMessageChannelId": "910199452915093588" | ||||
|     } | ||||
|   }, | ||||
|   "Permission": { | ||||
|     "910199451145076828": { | ||||
|       "AdminRoleIds": [ | ||||
|         925072155203477584 | ||||
|       ], | ||||
|       "ModeratorRoleIds": [ | ||||
|         925072209884635167 | ||||
|       ] | ||||
|     } | ||||
|   } | ||||
| } | ||||
| @@ -1,100 +0,0 @@ | ||||
| { | ||||
|   "TimeFormatSettings": { | ||||
|     "DateFormat": "%Y-%m-%d", | ||||
|     "TimeFormat": "%H:%M:%S", | ||||
|     "DateTimeFormat": "%Y-%m-%d %H:%M:%S.%f", | ||||
|     "DateTimeLogFormat": "%Y-%m-%d_%H-%M-%S" | ||||
|   }, | ||||
|   "LoggingSettings": { | ||||
|     "Path": "logs/$date_now/", | ||||
|     "Filename": "bot.log", | ||||
|     "ConsoleLogLevel": "TRACE", | ||||
|     "FileLogLevel": "TRACE" | ||||
|   }, | ||||
|   "BotLoggingSettings": { | ||||
|     "Api": { | ||||
|       "Path": "logs/$date_now/", | ||||
|       "Filename": "api.log", | ||||
|       "ConsoleLogLevel": "TRACE", | ||||
|       "FileLogLevel": "TRACE" | ||||
|     }, | ||||
|     "Command": { | ||||
|       "Path": "logs/$date_now/", | ||||
|       "Filename": "commands.log", | ||||
|       "ConsoleLogLevel": "TRACE", | ||||
|       "FileLogLevel": "TRACE" | ||||
|     }, | ||||
|     "Database": { | ||||
|       "Path": "logs/$date_now/", | ||||
|       "Filename": "database.log", | ||||
|       "ConsoleLogLevel": "DEBUG", | ||||
|       "FileLogLevel": "TRACE" | ||||
|     }, | ||||
|     "Message": { | ||||
|       "Path": "logs/$date_now/", | ||||
|       "Filename": "message.log", | ||||
|       "ConsoleLogLevel": "TRACE", | ||||
|       "FileLogLevel": "TRACE" | ||||
|     } | ||||
|   }, | ||||
|   "DiscordBot": { | ||||
|     "Token": "OTk4MTU5NjczODkzMDYwNzM4.GN3QyA.yvWO6L7Eu36gXQ7ARDs0Jg2J1VqIDnHLou5lT4", | ||||
|     "Prefix": "!kd " | ||||
|   }, | ||||
|   "Translation": { | ||||
|     "DefaultLanguage": "de", | ||||
|     "Languages": [ | ||||
|       "de" | ||||
|     ] | ||||
|   }, | ||||
|   "DatabaseSettings": { | ||||
|     "Host": "kdb_db_dev_1", | ||||
|     "User": "kd_kdb", | ||||
|     "Password": "IXc1RF8mc3RlQ2VqZmpxfmJ7MF9EUEBlOsKnWDI/SlV6", | ||||
|     "Database": "kd_kdb", | ||||
|     "Port": "3306", | ||||
|     "Charset": "utf8mb4", | ||||
|     "UseUnicode": "true", | ||||
|     "Buffered": "true", | ||||
|     "AuthPlugin": "mysql_native_password" | ||||
|   }, | ||||
|   "Bot": { | ||||
|     "910199451145076828": { | ||||
|       "MessageDeleteTimer": 4 | ||||
|     }, | ||||
|     "Technicians": [ | ||||
|       240160344557879316, | ||||
|       236592458664902657 | ||||
|     ], | ||||
|     "WaitForRestart": 4, | ||||
|     "WaitForShutdown": 4 | ||||
|   }, | ||||
|   "Base": { | ||||
|     "910199451145076828": { | ||||
|       "MaxVoiceStateHours": 24, | ||||
|       "XpPerMessage": 2, | ||||
|       "XpPerOntimeHour": 4, | ||||
|       "AFKChannelIds": [ | ||||
|         910199452915093593, | ||||
|         910199452915093594 | ||||
|       ], | ||||
|       "AFKCommandChannelId": 910199452915093594, | ||||
|       "HelpCommandReferenceUrl": "https://git.sh-edraft.de/sh-edraft.de/kd_discord_bot/wiki/Befehle" | ||||
|     } | ||||
|   }, | ||||
|   "BootLog": { | ||||
|     "910199451145076828": { | ||||
|       "LoginMessageChannelId": "910199452915093588" | ||||
|     } | ||||
|   }, | ||||
|   "Permission": { | ||||
|     "910199451145076828": { | ||||
|       "AdminRoleIds": [ | ||||
|         925072155203477584 | ||||
|       ], | ||||
|       "ModeratorRoleIds": [ | ||||
|         925072209884635167 | ||||
|       ] | ||||
|     } | ||||
|   } | ||||
| } | ||||
| @@ -1,97 +0,0 @@ | ||||
| { | ||||
|   "TimeFormatSettings": { | ||||
|     "DateFormat": "%Y-%m-%d", | ||||
|     "TimeFormat": "%H:%M:%S", | ||||
|     "DateTimeFormat": "%Y-%m-%d %H:%M:%S.%f", | ||||
|     "DateTimeLogFormat": "%Y-%m-%d_%H-%M-%S" | ||||
|   }, | ||||
|   "LoggingSettings": { | ||||
|     "Path": "logs/", | ||||
|     "Filename": "bot.log", | ||||
|     "ConsoleLogLevel": "DEBUG", | ||||
|     "FileLogLevel": "TRACE" | ||||
|   }, | ||||
|   "BotLoggingSettings": { | ||||
|     "Api": { | ||||
|       "Path": "logs/", | ||||
|       "Filename": "api.log", | ||||
|       "ConsoleLogLevel": "TRACE", | ||||
|       "FileLogLevel": "TRACE" | ||||
|     }, | ||||
|     "Command": { | ||||
|       "Path": "logs/", | ||||
|       "Filename": "commands.log", | ||||
|       "ConsoleLogLevel": "DEBUG", | ||||
|       "FileLogLevel": "TRACE" | ||||
|     }, | ||||
|     "Database": { | ||||
|       "Path": "logs/", | ||||
|       "Filename": "database.log", | ||||
|       "ConsoleLogLevel": "DEBUG", | ||||
|       "FileLogLevel": "TRACE" | ||||
|     }, | ||||
|     "Message": { | ||||
|       "Path": "logs/", | ||||
|       "Filename": "message.log", | ||||
|       "ConsoleLogLevel": "DEBUG", | ||||
|       "FileLogLevel": "TRACE" | ||||
|     } | ||||
|   }, | ||||
|   "DatabaseSettings": { | ||||
|     "Host": "localhost", | ||||
|     "User": "kd_kdb", | ||||
|     "Password": "VGpZcihrb0N2T2MyZUlURQ==", | ||||
|     "Database": "keksdose_bot_dev", | ||||
|     "Charset": "utf8mb4", | ||||
|     "UseUnicode": "true", | ||||
|     "Buffered": "true", | ||||
|     "AuthPlugin": "mysql_native_password" | ||||
|   }, | ||||
|   "DiscordBot": { | ||||
|     "Token": "OTk4MTYwNDI3Njg5MTgxMjM3.GI7h67.BqD6Lu1Tz0MuG8iktYrcLnHi1pNozyMiWFGTKI", | ||||
|     "Prefix": "!ke " | ||||
|   }, | ||||
|   "Bot": { | ||||
|     "910199451145076828": { | ||||
|       "MessageDeleteTimer": 2 | ||||
|     }, | ||||
|     "Technicians": [ | ||||
|       240160344557879316 | ||||
|     ], | ||||
|     "WaitForRestart": 4, | ||||
|     "WaitForShutdown": 4 | ||||
|   }, | ||||
|   "Base": { | ||||
|     "910199451145076828": { | ||||
|       "MaxVoiceStateHours": 24, | ||||
|       "XpPerMessage": 2, | ||||
|       "XpPerOntimeHour": 4, | ||||
|       "AFKChannelIds": [ | ||||
|         910199452915093593, | ||||
|         910199452915093594 | ||||
|       ], | ||||
|       "AFKCommandChannelId": 910199452915093594, | ||||
|       "HelpCommandReferenceUrl": "https://git.sh-edraft.de/sh-edraft.de/kd_discord_bot/wiki/Befehle" | ||||
|     } | ||||
|   }, | ||||
|   "BootLog": { | ||||
|     "910199451145076828": { | ||||
|       "LoginMessageChannelId": 910199452915093588 | ||||
|     } | ||||
|   }, | ||||
|   "Level": { | ||||
|     "910199451145076828": { | ||||
|       "ChangedLevelNotificationChannelId": 910199452667637892 | ||||
|     } | ||||
|   }, | ||||
|   "Permission": { | ||||
|     "910199451145076828": { | ||||
|       "AdminRoleIds": [ | ||||
|         925072155203477584 | ||||
|       ], | ||||
|       "ModeratorRoleIds": [ | ||||
|         925072209884635167 | ||||
|       ] | ||||
|     } | ||||
|   } | ||||
| } | ||||
| @@ -1,97 +0,0 @@ | ||||
| { | ||||
|   "TimeFormatSettings": { | ||||
|     "DateFormat": "%Y-%m-%d", | ||||
|     "TimeFormat": "%H:%M:%S", | ||||
|     "DateTimeFormat": "%Y-%m-%d %H:%M:%S.%f", | ||||
|     "DateTimeLogFormat": "%Y-%m-%d_%H-%M-%S" | ||||
|   }, | ||||
|   "LoggingSettings": { | ||||
|     "Path": "logs/", | ||||
|     "Filename": "bot.log", | ||||
|     "ConsoleLogLevel": "DEBUG", | ||||
|     "FileLogLevel": "TRACE" | ||||
|   }, | ||||
|   "BotLoggingSettings": { | ||||
|     "Api": { | ||||
|       "Path": "logs/", | ||||
|       "Filename": "api.log", | ||||
|       "ConsoleLogLevel": "TRACE", | ||||
|       "FileLogLevel": "TRACE" | ||||
|     }, | ||||
|     "Command": { | ||||
|       "Path": "logs/", | ||||
|       "Filename": "commands.log", | ||||
|       "ConsoleLogLevel": "DEBUG", | ||||
|       "FileLogLevel": "TRACE" | ||||
|     }, | ||||
|     "Database": { | ||||
|       "Path": "logs/", | ||||
|       "Filename": "database.log", | ||||
|       "ConsoleLogLevel": "DEBUG", | ||||
|       "FileLogLevel": "TRACE" | ||||
|     }, | ||||
|     "Message": { | ||||
|       "Path": "logs/", | ||||
|       "Filename": "message.log", | ||||
|       "ConsoleLogLevel": "DEBUG", | ||||
|       "FileLogLevel": "TRACE" | ||||
|     } | ||||
|   }, | ||||
|   "DatabaseSettings": { | ||||
|     "Host": "localhost", | ||||
|     "User": "kd_kdb", | ||||
|     "Password": "VGpZcihrb0N2T2MyZUlURQ==", | ||||
|     "Database": "keksdose_bot_dev", | ||||
|     "Charset": "utf8mb4", | ||||
|     "UseUnicode": "true", | ||||
|     "Buffered": "true", | ||||
|     "AuthPlugin": "mysql_native_password" | ||||
|   }, | ||||
|   "DiscordBot": { | ||||
|     "Token": "OTk4MTYwNDI3Njg5MTgxMjM3.GI7h67.BqD6Lu1Tz0MuG8iktYrcLnHi1pNozyMiWFGTKI", | ||||
|     "Prefix": "!ke " | ||||
|   }, | ||||
|   "Bot": { | ||||
|     "910199451145076828": { | ||||
|       "MessageDeleteTimer": 2 | ||||
|     }, | ||||
|     "Technicians": [ | ||||
|       240160344557879316 | ||||
|     ], | ||||
|     "WaitForRestart": 4, | ||||
|     "WaitForShutdown": 4 | ||||
|   }, | ||||
|   "Base": { | ||||
|     "910199451145076828": { | ||||
|       "MaxVoiceStateHours": 24, | ||||
|       "XpPerMessage": 2, | ||||
|       "XpPerOntimeHour": 4, | ||||
|       "AFKChannelIds": [ | ||||
|         910199452915093593, | ||||
|         910199452915093594 | ||||
|       ], | ||||
|       "AFKCommandChannelId": 910199452915093594, | ||||
|       "HelpCommandReferenceUrl": "https://git.sh-edraft.de/sh-edraft.de/kd_discord_bot/wiki/Befehle" | ||||
|     } | ||||
|   }, | ||||
|   "BootLog": { | ||||
|     "910199451145076828": { | ||||
|       "LoginMessageChannelId": 910199452915093588 | ||||
|     } | ||||
|   }, | ||||
|   "Level": { | ||||
|     "910199451145076828": { | ||||
|       "ChangedLevelNotificationChannelId": 910199452667637892 | ||||
|     } | ||||
|   }, | ||||
|   "Permission": { | ||||
|     "910199451145076828": { | ||||
|       "AdminRoleIds": [ | ||||
|         925072155203477584 | ||||
|       ], | ||||
|       "ModeratorRoleIds": [ | ||||
|         925072209884635167 | ||||
|       ] | ||||
|     } | ||||
|   } | ||||
| } | ||||
| @@ -1,18 +0,0 @@ | ||||
| { | ||||
|   "TimeFormatSettings": { | ||||
|     "DateFormat": "%Y-%m-%d", | ||||
|     "TimeFormat": "%H:%M:%S", | ||||
|     "DateTimeFormat": "%Y-%m-%d %H:%M:%S.%f", | ||||
|     "DateTimeLogFormat": "%Y-%m-%d_%H-%M-%S" | ||||
|   }, | ||||
|   "LoggingSettings": { | ||||
|     "Path": "logs/", | ||||
|     "Filename": "log_$start_time.log", | ||||
|     "ConsoleLogLevel": "ERROR", | ||||
|     "FileLogLevel": "WARN" | ||||
|   }, | ||||
|   "DiscordBot": { | ||||
|     "Token": "", | ||||
|     "Prefix": "! " | ||||
|   } | ||||
| } | ||||
| @@ -1,34 +0,0 @@ | ||||
| { | ||||
|   "TimeFormatSettings": { | ||||
|     "DateFormat": "%Y-%m-%d", | ||||
|     "TimeFormat": "%H:%M:%S", | ||||
|     "DateTimeFormat": "%Y-%m-%d %H:%M:%S.%f", | ||||
|     "DateTimeLogFormat": "%Y-%m-%d_%H-%M-%S" | ||||
|   }, | ||||
|   "LoggingSettings": { | ||||
|     "Path": "logs/$date_now/", | ||||
|     "Filename": "bot.log", | ||||
|     "ConsoleLogLevel": "ERROR", | ||||
|     "FileLogLevel": "WARN" | ||||
|   }, | ||||
|   "BotLoggingSettings": { | ||||
|     "Command": { | ||||
|       "Path": "logs/$date_now/", | ||||
|       "Filename": "commands.log", | ||||
|       "ConsoleLogLevel": "ERROR", | ||||
|       "FileLogLevel": "WARN" | ||||
|     }, | ||||
|     "Database": { | ||||
|       "Path": "logs/$date_now/", | ||||
|       "Filename": "database.log", | ||||
|       "ConsoleLogLevel": "ERROR", | ||||
|       "FileLogLevel": "WARN" | ||||
|     }, | ||||
|     "Message": { | ||||
|       "Path": "logs/$date_now/", | ||||
|       "Filename": "message.log", | ||||
|       "ConsoleLogLevel": "ERROR", | ||||
|       "FileLogLevel": "WARN" | ||||
|     } | ||||
|   } | ||||
| } | ||||
| @@ -1,120 +0,0 @@ | ||||
| { | ||||
|   "TimeFormatSettings": { | ||||
|     "DateFormat": "%Y-%m-%d", | ||||
|     "TimeFormat": "%H:%M:%S", | ||||
|     "DateTimeFormat": "%Y-%m-%d %H:%M:%S.%f", | ||||
|     "DateTimeLogFormat": "%Y-%m-%d_%H-%M-%S" | ||||
|   }, | ||||
|   "LoggingSettings": { | ||||
|     "Path": "logs/$date_now/", | ||||
|     "Filename": "bot.log", | ||||
|     "ConsoleLogLevel": "ERROR", | ||||
|     "FileLogLevel": "INFO" | ||||
|   }, | ||||
|   "BotLoggingSettings": { | ||||
|     "Api": { | ||||
|       "Path": "logs/$date_now/", | ||||
|       "Filename": "api.log", | ||||
|       "ConsoleLogLevel": "ERROR", | ||||
|       "FileLogLevel": "INFO" | ||||
|     }, | ||||
|     "Command": { | ||||
|       "Path": "logs/$date_now/", | ||||
|       "Filename": "commands.log", | ||||
|       "ConsoleLogLevel": "ERROR", | ||||
|       "FileLogLevel": "INFO" | ||||
|     }, | ||||
|     "Database": { | ||||
|       "Path": "logs/$date_now/", | ||||
|       "Filename": "database.log", | ||||
|       "ConsoleLogLevel": "ERROR", | ||||
|       "FileLogLevel": "INFO" | ||||
|     }, | ||||
|     "Message": { | ||||
|       "Path": "logs/$date_now/", | ||||
|       "Filename": "message.log", | ||||
|       "ConsoleLogLevel": "ERROR", | ||||
|       "FileLogLevel": "INFO" | ||||
|     } | ||||
|   }, | ||||
|   "Translation": { | ||||
|     "DefaultLanguage": "de", | ||||
|     "Languages": [ | ||||
|       "de" | ||||
|     ] | ||||
|   }, | ||||
|   "DatabaseSettings": { | ||||
|     "Host": "kdb_db_prod_1", | ||||
|     "User": "kd_kdb", | ||||
|     "Password": "Kz1nan0ow4RFYlJHNl9TJsO2fcO8PnphTlQ9ckV7X35tPHk=", | ||||
|     "Database": "kd_kdb", | ||||
|     "Port": "3306", | ||||
|     "Charset": "utf8mb4", | ||||
|     "UseUnicode": "true", | ||||
|     "Buffered": "true", | ||||
|     "AuthPlugin": "mysql_native_password" | ||||
|   }, | ||||
|   "Bot": { | ||||
|     "650366049023295514": { | ||||
|       "MessageDeleteTimer": 2 | ||||
|     }, | ||||
|     "910199451145076828": { | ||||
|       "MessageDeleteTimer": 2 | ||||
|     }, | ||||
|     "Technicians": [ | ||||
|       240160344557879316, | ||||
|       236592458664902657 | ||||
|     ], | ||||
|     "WaitForRestart": 4, | ||||
|     "WaitForShutdown": 4 | ||||
|   }, | ||||
|   "Base": { | ||||
|     "650366049023295514": { | ||||
|       "MaxVoiceStateHours": 24, | ||||
|       "XpPerMessage": 2, | ||||
|       "XpPerOntimeHour": 4, | ||||
|       "AFKChannelIds": [ | ||||
|         784530469290246145 | ||||
|       ], | ||||
|       "AFKCommandChannelId": 784530469290246145, | ||||
|       "HelpCommandReferenceUrl": "https://git.sh-edraft.de/sh-edraft.de/kd_discord_bot/wiki/Befehle" | ||||
|     }, | ||||
|     "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 | ||||
|       ] | ||||
|     } | ||||
|   } | ||||
| } | ||||
| @@ -1,96 +0,0 @@ | ||||
| { | ||||
|   "TimeFormatSettings": { | ||||
|     "DateFormat": "%Y-%m-%d", | ||||
|     "TimeFormat": "%H:%M:%S", | ||||
|     "DateTimeFormat": "%Y-%m-%d %H:%M:%S.%f", | ||||
|     "DateTimeLogFormat": "%Y-%m-%d_%H-%M-%S" | ||||
|   }, | ||||
|   "LoggingSettings": { | ||||
|     "Path": "logs/$date_now/", | ||||
|     "Filename": "bot.log", | ||||
|     "ConsoleLogLevel": "INFO", | ||||
|     "FileLogLevel": "DEBUG" | ||||
|   }, | ||||
|   "BotLoggingSettings": { | ||||
|     "Api": { | ||||
|       "Path": "logs/$date_now/", | ||||
|       "Filename": "api.log", | ||||
|       "ConsoleLogLevel": "INFO", | ||||
|       "FileLogLevel": "DEBUG" | ||||
|     }, | ||||
|     "Command": { | ||||
|       "Path": "logs/$date_now/", | ||||
|       "Filename": "commands.log", | ||||
|       "ConsoleLogLevel": "INFO", | ||||
|       "FileLogLevel": "DEBUG" | ||||
|     }, | ||||
|     "Database": { | ||||
|       "Path": "logs/$date_now/", | ||||
|       "Filename": "database.log", | ||||
|       "ConsoleLogLevel": "INFO", | ||||
|       "FileLogLevel": "DEBUG" | ||||
|     }, | ||||
|     "Message": { | ||||
|       "Path": "logs/$date_now/", | ||||
|       "Filename": "message.log", | ||||
|       "ConsoleLogLevel": "INFO", | ||||
|       "FileLogLevel": "DEBUG" | ||||
|     } | ||||
|   }, | ||||
|   "Translation": { | ||||
|     "DefaultLanguage": "de", | ||||
|     "Languages": [ | ||||
|       "de" | ||||
|     ] | ||||
|   }, | ||||
|   "DatabaseSettings": { | ||||
|     "Host": "kdb_db_staging_1", | ||||
|     "User": "kd_kdb", | ||||
|     "Password": "MyZZd1ZNQ3fDvGI9TFV0N0LCp8OWc1k/S3J+WFJ0RCMmJmY=", | ||||
|     "Database": "kd_kdb", | ||||
|     "Port": "3306", | ||||
|     "Charset": "utf8mb4", | ||||
|     "UseUnicode": "true", | ||||
|     "Buffered": "true", | ||||
|     "AuthPlugin": "mysql_native_password" | ||||
|   }, | ||||
|   "Bot": { | ||||
|     "910199451145076828": { | ||||
|       "MessageDeleteTimer": 4 | ||||
|     }, | ||||
|     "Technicians": [ | ||||
|       240160344557879316, | ||||
|       236592458664902657 | ||||
|     ], | ||||
|     "WaitForRestart": 4, | ||||
|     "WaitForShutdown": 4 | ||||
|   }, | ||||
|   "Base": { | ||||
|     "910199451145076828": { | ||||
|       "MaxVoiceStateHours": 24, | ||||
|       "XpPerMessage": 2, | ||||
|       "XpPerOntimeHour": 4, | ||||
|       "AFKChannelIds": [ | ||||
|         910199452915093593, | ||||
|         910199452915093594 | ||||
|       ], | ||||
|       "AFKCommandChannelId": 910199452915093594, | ||||
|       "HelpCommandReferenceUrl": "https://git.sh-edraft.de/sh-edraft.de/kd_discord_bot/wiki/Befehle" | ||||
|     } | ||||
|   }, | ||||
|   "BootLog": { | ||||
|     "910199451145076828": { | ||||
|       "LoginMessageChannelId": "910199452915093588" | ||||
|     } | ||||
|   }, | ||||
|   "Permission": { | ||||
|     "910199451145076828": { | ||||
|       "AdminRoleIds": [ | ||||
|         925072155203477584 | ||||
|       ], | ||||
|       "ModeratorRoleIds": [ | ||||
|         925072209884635167 | ||||
|       ] | ||||
|     } | ||||
|   } | ||||
| } | ||||
| @@ -1,16 +0,0 @@ | ||||
| { | ||||
|   "FeatureFlags": { | ||||
|     "ApiModule": false, | ||||
|     "AdminModule": true, | ||||
|     "AutoRoleModule": true, | ||||
|     "BaseModule": true, | ||||
|     "BootLogModule": true, | ||||
|     "CoreModule": true, | ||||
|     "CoreExtensionModule": true, | ||||
|     "DatabaseModule": true, | ||||
|     "ModeratorModule": true, | ||||
|     "LevelModule": true, | ||||
|     "PermissionModule": true, | ||||
|     "PresenceModule": true | ||||
|   } | ||||
| } | ||||
							
								
								
									
										1
									
								
								kdb-bot/src/bot_api/config
									
									
									
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								kdb-bot/src/bot_api/config
									
									
									
									
									
										Submodule
									
								
							 Submodule kdb-bot/src/bot_api/config added at 90197e75e5
									
								
							| @@ -1,33 +0,0 @@ | ||||
| { | ||||
|   "Api": { | ||||
|     "Port": 80, | ||||
|     "Host": "0.0.0.0", | ||||
|     "RedirectToHTTPS": false | ||||
|   }, | ||||
|   "Authentication": { | ||||
|     "SecretKey": "RjNiNUxEeisjSnZ6Zz1XIUBnc2EleHNG", | ||||
|     "Issuer": "http://localhost:8044", | ||||
|     "Audience": "http://localhost:8043", | ||||
|     "TokenExpireTime": 1, | ||||
|     "RefreshTokenExpireTime": 7 | ||||
|   }, | ||||
|   "DiscordAuthentication": { | ||||
|     "ClientSecret": "cmhqYmF4MXBCd2IzeEZoSXRZQ29vY3NwUWwxQzFTZng=", | ||||
|     "RedirectURL": "http://localhost:8043/auth/register", | ||||
|     "Scope": [ | ||||
|       "identify", | ||||
|       "email" | ||||
|     ], | ||||
|     "TokenURL": "https://discordapp.com/api/oauth2/token", | ||||
|     "AuthURL": "https://discordapp.com/api/oauth2/authorize" | ||||
|   }, | ||||
|   "Frontend": { | ||||
|     "URL": "http://localhost:8043/" | ||||
|   }, | ||||
|   "EMailClientSettings": { | ||||
|     "Host": "mail.sh-edraft.de", | ||||
|     "Port": "587", | ||||
|     "UserName": "dev-srv@sh-edraft.de", | ||||
|     "Credentials": "RmBOQX1eNFYiYjgsSid3fV1nelc2WA==" | ||||
|   } | ||||
| } | ||||
| @@ -1,28 +0,0 @@ | ||||
| { | ||||
|   "Api": { | ||||
|     "Port": 5000, | ||||
|     "Host": "0.0.0.0", | ||||
|     "RedirectToHTTPS": false | ||||
|   }, | ||||
|   "Authentication": { | ||||
|     "SecretKey": "RjNiNUxEeisjSnZ6Zz1XIUBnc2EleHNG", | ||||
|     "Issuer": "http://localhost:5000", | ||||
|     "Audience": "http://localhost:4200", | ||||
|     "TokenExpireTime": 1, | ||||
|     "RefreshTokenExpireTime": 7 | ||||
|   }, | ||||
|   "DiscordAuthentication": { | ||||
|     "ClientSecret": "V3FTb3JYVFBiVktEeHZxdWJDWW4xcnBCbXRwdmpwcy0=", | ||||
|     "_RedirectURL": "http://localhost:5000/api/auth/discord/register", | ||||
|     "RedirectURL": "http://localhost:4200/auth/register", | ||||
|     "Scope": [ | ||||
|       "identify", | ||||
|       "email" | ||||
|     ], | ||||
|     "TokenURL": "https://discordapp.com/api/oauth2/token", | ||||
|     "AuthURL": "https://discordapp.com/api/oauth2/authorize" | ||||
|   }, | ||||
|   "Frontend": { | ||||
|     "URL": "http://localhost:4200/" | ||||
|   } | ||||
| } | ||||
| @@ -1,27 +0,0 @@ | ||||
| { | ||||
|   "Api": { | ||||
|     "Port": 8044, | ||||
|     "Host": "0.0.0.0", | ||||
|     "RedirectToHTTPS": false | ||||
|   }, | ||||
|   "Authentication": { | ||||
|     "SecretKey": "RjNiNUxEeisjSnZ6Zz1XIUBnc2EleHNG", | ||||
|     "Issuer": "http://localhost:8084", | ||||
|     "Audience": "http://localhost:4200", | ||||
|     "TokenExpireTime": 1, | ||||
|     "RefreshTokenExpireTime": 7 | ||||
|   }, | ||||
|   "DiscordAuthentication": { | ||||
|     "ClientSecret": "V3FTb3JYVFBiVktEeHZxdWJDWW4xcnBCbXRwdmpwcy0=", | ||||
|     "RedirectURL": "http://localhost:4200/auth/register", | ||||
|     "Scope": [ | ||||
|       "identify", | ||||
|       "email" | ||||
|     ], | ||||
|     "TokenURL": "https://discordapp.com/api/oauth2/token", | ||||
|     "AuthURL": "https://discordapp.com/api/oauth2/authorize" | ||||
|   }, | ||||
|   "Frontend": { | ||||
|     "URL": "http://localhost:4200/" | ||||
|   } | ||||
| } | ||||
| @@ -1 +0,0 @@ | ||||
| {} | ||||
| @@ -1,33 +0,0 @@ | ||||
| { | ||||
|   "Api": { | ||||
|     "Port": 80, | ||||
|     "Host": "0.0.0.0", | ||||
|     "RedirectToHTTPS": false | ||||
|   }, | ||||
|   "Authentication": { | ||||
|     "SecretKey": "cEwzW2BdcWxGLTBdPClJImNIbDFJXjVsPGw=", | ||||
|     "Issuer": "https://kdb.keksdose-gaming.de/", | ||||
|     "Audience": "https://kdb.keksdose-gaming.de/", | ||||
|     "TokenExpireTime": 1, | ||||
|     "RefreshTokenExpireTime": 7 | ||||
|   }, | ||||
|   "DiscordAuthentication": { | ||||
|     "ClientSecret": "SXpIOGY4ZzhWVEljOXJwSk5QcVpNU0lmRDNTb2c1Vk8=", | ||||
|     "RedirectURL": "https://kdb.keksdose-gaming.de/auth/register", | ||||
|     "Scope": [ | ||||
|       "identify", | ||||
|       "email" | ||||
|     ], | ||||
|     "TokenURL": "https://discordapp.com/api/oauth2/token", | ||||
|     "AuthURL": "https://discordapp.com/api/oauth2/authorize" | ||||
|   }, | ||||
|   "Frontend": { | ||||
|     "URL": "https://kdb.keksdose-gaming.de/" | ||||
|   }, | ||||
|   "EMailClientSettings": { | ||||
|     "Host": "mail.sh-edraft.de", | ||||
|     "Port": "587", | ||||
|     "UserName": "kruemmelmonster@sh-edraft.de", | ||||
|     "Credentials": "YjAwT3tPSVspezdadExdOEkoV3M3XiNb" | ||||
|   } | ||||
| } | ||||
| @@ -1,33 +0,0 @@ | ||||
| { | ||||
|   "Api": { | ||||
|     "Port": 80, | ||||
|     "Host": "0.0.0.0", | ||||
|     "RedirectToHTTPS": false | ||||
|   }, | ||||
|   "Authentication": { | ||||
|     "SecretKey": "Kj87RjklLUM1MytsUjtbcCswRidBV2VdMXU=", | ||||
|     "Issuer": "https://kdb-test.keksdose-gaming.de/", | ||||
|     "Audience": "https://kdb-test.keksdose-gaming.de/", | ||||
|     "TokenExpireTime": 1, | ||||
|     "RefreshTokenExpireTime": 7 | ||||
|   }, | ||||
|   "DiscordAuthentication": { | ||||
|     "ClientSecret": "VVdRZTg1SnFxUExCNmhzU1RZY05mTHV5TmVaV0NkUmc=", | ||||
|     "RedirectURL": "https://kdb-test.keksdose-gaming.de/auth/register", | ||||
|     "Scope": [ | ||||
|       "identify", | ||||
|       "email" | ||||
|     ], | ||||
|     "TokenURL": "https://discordapp.com/api/oauth2/token", | ||||
|     "AuthURL": "https://discordapp.com/api/oauth2/authorize" | ||||
|   }, | ||||
|   "Frontend": { | ||||
|     "URL": "https://kdb-test.keksdose-gaming.de/" | ||||
|   }, | ||||
|   "EMailClientSettings": { | ||||
|     "Host": "mail.sh-edraft.de", | ||||
|     "Port": "587", | ||||
|     "UserName": "kruemmelmonster@sh-edraft.de", | ||||
|     "Credentials": "YjAwT3tPSVspezdadExdOEkoV3M3XiNb" | ||||
|   } | ||||
| } | ||||
| @@ -1 +0,0 @@ | ||||
| {} | ||||
		Reference in New Issue
	
	Block a user