Browse Source

Set default MaxRestRetries to 3

jonas747 8 years ago
parent
commit
ebb910f3ac
1 changed files with 1 additions and 0 deletions
  1. 1 0
      discord.go

+ 1 - 0
discord.go

@@ -42,6 +42,7 @@ func New(args ...interface{}) (s *Session, err error) {
 		ShouldReconnectOnError: true,
 		ShardID:                0,
 		ShardCount:             1,
+		MaxRestRetries:         3,
 	}
 
 	// If no arguments are passed return the empty Session interface.