Browse Source

Rename GuildBanAdd to GuildBanCreate

Chris Rhodes 9 years ago
parent
commit
e836b7a500
1 changed files with 2 additions and 2 deletions
  1. 2 2
      restapi.go

+ 2 - 2
restapi.go

@@ -275,10 +275,10 @@ func (s *Session) GuildBans(guildID string) (st []User, err error) {
 	return
 }
 
-// GuildBanAdd bans the given user from the given guild.
+// GuildBanCreate bans the given user from the given guild.
 // guildID   : The ID of a Guild.
 // userID    : The ID of a User
-func (s *Session) GuildBanAdd(guildID, userID string) (err error) {
+func (s *Session) GuildBanCreate(guildID, userID string) (err error) {
 
 	_, err = s.Request("PUT", GUILD_BAN(guildID, userID), nil)
 	return