Drn 2 жил өмнө
parent
commit
35f4d17a26
2 өөрчлөгдсөн 4 нэмэгдсэн , 11 устгасан
  1. 3 10
      config.go
  2. 1 1
      vars.go

+ 3 - 10
config.go

@@ -74,8 +74,7 @@ func defaultConfiguration() configuration {
 			Password: placeholderPassword,
 		},
 		// Setup
-		Admins: []string{},
-		//LogLevel:                       logLevelInfo,
+		Admins:                         []string{},
 		DebugOutput:                    defConfig_DebugOutput,
 		MessageOutput:                  defConfig_MessageOutput,
 		CommandPrefix:                  defConfig_CommandPrefix,
@@ -116,7 +115,7 @@ type configuration struct {
 	// Setup
 	Admins        []string                    `json:"admins"`        // optional
 	AdminChannels []configurationAdminChannel `json:"adminChannels"` // optional
-	//LogLevel                       int                         `json:"logLevel,omitempty"`                       // optional, defaults
+	// Main
 	DebugOutput                    bool    `json:"debugOutput"`                              // optional, defaults
 	MessageOutput                  bool    `json:"messageOutput"`                            // optional, defaults
 	CommandPrefix                  string  `json:"commandPrefix"`                            // optional, defaults
@@ -151,18 +150,12 @@ type configuration struct {
 	EmbedColor                 *string            `json:"embedColor,omitempty"`                 // optional, defaults to role if undefined, then defaults random if no role color
 	InflateCount               *int64             `json:"inflateCount,omitempty"`               // optional, defaults to 0 if undefined
 	NumberFormatEuropean       bool               `json:"numberFormatEuropean,omitempty"`       // optional, defaults
-	// Channels
+	// Sources
 	All                  *configurationSource  `json:"all,omitempty"`                  // optional, defaults
 	AllBlacklistChannels *[]string             `json:"allBlacklistChannels,omitempty"` // optional
 	AllBlacklistServers  *[]string             `json:"allBlacklistServers,omitempty"`  // optional
 	Servers              []configurationSource `json:"servers"`                        // required
 	Channels             []configurationSource `json:"channels"`                       // required
-
-	/* IDEAS / TODO:
-
-	*
-
-	 */
 }
 
 type constStruct struct {

+ 1 - 1
vars.go

@@ -7,7 +7,7 @@ import (
 const (
 	projectName    = "discord-downloader-go"
 	projectLabel   = "Discord Downloader GO"
-	projectVersion = "2.0.0-rewrite-1"
+	projectVersion = "2.0.0-beta-2"
 	projectIcon    = "https://cdn.discordapp.com/icons/780985109608005703/9dc25f1b91e6d92664590254e0797fad.webp?size=256"
 
 	projectRepo          = "get-got/discord-downloader-go"