-
Notifications
You must be signed in to change notification settings - Fork 347
/
Copy pathappsettings.json
38 lines (38 loc) · 1.12 KB
/
appsettings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"Discord": {
// Discord bot authentication token
// See https://discord.com/developers
"DiscordToken": "",
// Index where to store files, e.g. disk folder, Azure blobs folder, etc.
"Index": "discord",
// File name used when uploading a message to document storage.
"FileName": "discord-msg.json",
// Handlers processing the incoming Discord events
"Steps": [
"store_discord_message"
]
},
"ConnectionStrings": {
// Db where Discord messages are stored, e.g.
// "Host=contoso.postgres.database.azure.com;Port=5432;Username=adminuser;Password=mypassword;Database=discorddata;SSL Mode=VerifyFull"
"postgresDb": "Host=localhost;Port=5432;Username=;Password="
},
"Logging": {
"LogLevel": {
"Default": "Warning"
},
"Console": {
"LogToStandardErrorThreshold": "Critical",
"FormatterName": "simple",
"FormatterOptions": {
"TimestampFormat": "[HH:mm:ss.fff] ",
"SingleLine": true,
"UseUtcTimestamp": false,
"IncludeScopes": false,
"JsonWriterOptions": {
"Indented": true
}
}
}
}
}