From b61179d1885fc48eac15866ccdf1639c59213e80 Mon Sep 17 00:00:00 2001 From: Maximilian von Lindern Date: Wed, 18 Aug 2021 15:48:43 +0200 Subject: [PATCH] api: Remove Client.Kick and rename .KickWithReason to .Kick --- api/member.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/api/member.go b/api/member.go index f6ccf3e..70a0d3d 100644 --- a/api/member.go +++ b/api/member.go @@ -262,13 +262,7 @@ func (c *Client) Prune(guildID discord.GuildID, data PruneData) (uint, error) { // Requires KICK_MEMBERS permission. // // Fires a Guild Member Remove Gateway event. -func (c *Client) Kick(guildID discord.GuildID, userID discord.UserID) error { - return c.KickWithReason(guildID, userID, "") -} - -// KickWithReason is the same as Kick, but adds the given reason to the audit -// log. -func (c *Client) KickWithReason( +func (c *Client) Kick( guildID discord.GuildID, userID discord.UserID, reason AuditLogReason) error { return c.FastRequest(