Browse Source

filename & behavior default change

Drn 2 years ago
parent
commit
8dd82b0815
2 changed files with 4 additions and 4 deletions
  1. 2 2
      README.md
  2. 2 2
      config.go

+ 2 - 2
README.md

@@ -407,7 +407,7 @@ THIS IS THE MAIN SETTINGS GROUP, ALL OF THIS WOULD GO INSIDE THE MAIN `{ }` FILE
 - sendFileDirectly `bool`
 - sendFileCaption `string`
 - filenameDateFormat `string ; "2006-01-02_15-04-05"`
-- filenameFormat `string ; "{{date}} {{shortID}} {{file}}"`
+- filenameFormat `string ; "{{date}} {{file}}"`
 - presenceEnabled `bool ; true`
 - presenceStatus `string ; "idle"`
 - presenceType `int ; 0`
@@ -483,7 +483,7 @@ THIS IS THE MAIN SETTINGS GROUP, ALL OF THIS WOULD GO INSIDE THE MAIN `{ }` FILE
   - sendFileDirectly `bool ; true`
   - sendFileCaption `string`
   - filenameDateFormat `string ; "2006-01-02_15-04-05"`
-  - filenameFormat `string ; "{{date}} {{shortID}} {{file}}"`
+  - filenameFormat `string ; "{{date}} {{file}}"`
   - presenceEnabled `bool ; true`
   - reactWhenDownloaded `bool ; true`
   - reactWhenDownloadedEmoji `string`

+ 2 - 2
config.go

@@ -71,7 +71,7 @@ var (
 	defConfig_PresenceRefreshRate int = 3
 
 	defConfig_FilenameDateFormat string = "2006-01-02_15-04-05"
-	defConfig_FilenameFormat     string = "{{date}} {{shortID}} {{file}}"
+	defConfig_FilenameFormat     string = "{{date}} {{file}}"
 
 	defConfig_HistoryMaxJobs int = 3
 )
@@ -158,7 +158,7 @@ func defaultConfiguration() configuration {
 		SaveAudioFiles:         true,
 		SaveTextFiles:          false,
 		SaveOtherFiles:         false,
-		SavePossibleDuplicates: false,
+		SavePossibleDuplicates: true,
 		Filters: &configurationSourceFilters{
 			BlockedExtensions: &[]string{
 				".htm",