forked from sh-edraft.de/sh_discord_bot
Added configuration
This commit is contained in:
33
src/bot/config/appsettings.development.json
Normal file
33
src/bot/config/appsettings.development.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"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_dev.log",
|
||||
"ConsoleLogLevel": "DEBUG",
|
||||
"FileLogLevel": "DEBUG"
|
||||
},
|
||||
"Translation": {
|
||||
"DefaultLanguage": "de",
|
||||
"Languages": [
|
||||
"de"
|
||||
]
|
||||
},
|
||||
"DiscordBot": {
|
||||
"Token": "OTA5ODc4NDcyNzExNzU3ODQ1.YZKsXA.8p-g1c37EBZzYYW09Fvr7egQzhE",
|
||||
"Prefix": "!kd "
|
||||
},
|
||||
"Bot": {
|
||||
"Servers": [
|
||||
{
|
||||
"Id": "910199451145076828",
|
||||
"MessageDeleteTimer": 2,
|
||||
"BotHasNoPermissionMessage": "Ich habe keine Berechtigungen :("
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
31
src/bot/config/appsettings.edrafts-lapi.json
Normal file
31
src/bot/config/appsettings.edrafts-lapi.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"LoggingSettings": {
|
||||
"Path": "logs/",
|
||||
"Filename": "log_dev.log",
|
||||
"ConsoleLogLevel": "TRACE",
|
||||
"FileLogLevel": "TRACE"
|
||||
},
|
||||
"DatabaseSettings": {
|
||||
"Host": "localhost",
|
||||
"User": "sh_gismo",
|
||||
"Password": "c2hfZ2lzbW8=",
|
||||
"Database": "sh_gismo_dev",
|
||||
"Charset": "utf8mb4",
|
||||
"UseUnicode": "true",
|
||||
"Buffered": "true",
|
||||
"AuthPlugin": "mysql_native_password"
|
||||
},
|
||||
"DiscordBot": {
|
||||
"Token": "OTExNTc0NDQyMzMxNzM0MDI2.YZjX2w.k7N2qTkvkDD7j9bT4Nrdl4qBHlI",
|
||||
"Prefix": "!kde "
|
||||
},
|
||||
"Bot": {
|
||||
"Servers": [
|
||||
{
|
||||
"Id": "910199451145076828",
|
||||
"MessageDeleteTimer": 2,
|
||||
"BotHasNoPermissionMessage": "Ich habe keine Berechtigungen :("
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
18
src/bot/config/appsettings.example.json
Normal file
18
src/bot/config/appsettings.example.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"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": "! "
|
||||
}
|
||||
}
|
14
src/bot/config/appsettings.json
Normal file
14
src/bot/config/appsettings.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
24
src/bot/config/appsettings.production.json
Normal file
24
src/bot/config/appsettings.production.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"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"
|
||||
},
|
||||
"Translation": {
|
||||
"DefaultLanguage": "de",
|
||||
"Languages": [
|
||||
"de"
|
||||
]
|
||||
},
|
||||
"Discord": {
|
||||
"Token": "OTA5ODc3NDg3MjEzODk5ODQ3.YZKrcQ.JLfdP_X0xtpfXKiBqP49HQe6z9Y",
|
||||
"Prefix": "!kb "
|
||||
}
|
||||
}
|
33
src/bot/config/appsettings.staging.json
Normal file
33
src/bot/config/appsettings.staging.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"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_staging_$start_time.log",
|
||||
"ConsoleLogLevel": "INFO",
|
||||
"FileLogLevel": "DEBUG"
|
||||
},
|
||||
"Translation": {
|
||||
"DefaultLanguage": "de",
|
||||
"Languages": [
|
||||
"de"
|
||||
]
|
||||
},
|
||||
"Discord": {
|
||||
"Token": "OTEwMjAxNjA1NDkwNjEwMjA3.YZPZTQ.lUj2Bs5pQAv4AJ_tb_mHMTpIRls"
|
||||
},
|
||||
"Bot": {
|
||||
"Prefix": "!kt ",
|
||||
"Servers": [
|
||||
{
|
||||
"Id": "910199451145076828",
|
||||
"MessageDeleteTimer": 2,
|
||||
"BotHasNoPermissionMessage": "Ich habe keine Berechtigungen :("
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user