Better document GuildEdit arguments

This commit is contained in:
Nicholas Stafie 2016-02-25 00:31:51 +02:00
parent 1a844d697d
commit f5ac3b10bf
No known key found for this signature in database
GPG key ID: 744268B4FBF404BE

View file

@ -371,7 +371,7 @@ func (s *Session) GuildCreate(name string) (st *Guild, err error) {
// GuildEdit edits a new Guild // GuildEdit edits a new Guild
// guildID : The ID of a 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) { func (s *Session) GuildEdit(guildID string, g GuildParams) (st *Guild, err error) {
// Bounds checking for VerificationLevel, interval: [0, 3] // Bounds checking for VerificationLevel, interval: [0, 3]