Explorar o código

Better document GuildEdit arguments

Nicholas Stafie %!s(int64=9) %!d(string=hai) anos
pai
achega
f5ac3b10bf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      restapi.go

+ 1 - 1
restapi.go

@@ -371,7 +371,7 @@ func (s *Session) GuildCreate(name string) (st *Guild, err error) {
 
 // GuildEdit edits a new Guild
 // guildID   : The ID of a Guild
-// name      : A name for the Guild (2-100 characters)
+// g 		 : A GuildParams struct with the values Name, Region and VerificationLevel defined.
 func (s *Session) GuildEdit(guildID string, g GuildParams) (st *Guild, err error) {
 
 	// Bounds checking for VerificationLevel, interval: [0, 3]