👌
This commit is contained in:
parent
0bd7fbf668
commit
32dc320386
1 changed files with 2 additions and 2 deletions
|
@ -405,9 +405,9 @@ func (s *Session) GuildDelete(guildID string) (st *Guild, err error) {
|
|||
|
||||
// GuildLeave leaves a Guild.
|
||||
// guildID : The ID of a Guild
|
||||
func (s *Session) GuildLeave(guildID string) (st *Guild, err error) {
|
||||
func (s *Session) GuildLeave(guildID string) (err error) {
|
||||
|
||||
_, err := s.Request("DELETE", USER_GUILD("@me", guildID), nil)
|
||||
_, err = s.Request("DELETE", USER_GUILD("@me", guildID), nil)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue