func DeleteGuild(client httd.Deleter, id Snowflake) (err error) {
	resp, _, err := client.Delete(&httd.Request{
		Ratelimiter: ratelimitGuild(id),
		Endpoint:    endpoint.Guild(id),
	})
	if err != nil {
		return
	}

	if resp.StatusCode != http.StatusNoContent {
		msg := "unexpected http response code. Got " + resp.Status + ", wants " + http.StatusText(http.StatusNoContent)
		err = errors.New(msg)
	}
	return
}
// DeleteGuild [DELETE]     Delete a guild permanently. User must be owner. Returns 204 No Content on success.
//                          Fires a Guild Delete Gateway event.
// Endpoint                 /guilds/{guild.id}
// Rate limiter             /guilds/{guild.id}
// Discord documentation    https://discordapp.com/developers/docs/resources/guild#delete-guild
// Reviewed                 2018-08-17
// Comment                  -
DeleteGuild [DELETE]     Delete a guild permanently. User must be owner. Returns 204 No Content on success.
Fires a Guild Delete Gateway event.
// DeleteGuild [ DELETE ] Delete a guild permanently . User must be owner . Returns 204 No Content on success . // Fires a Guild Delete Gateway event . // Endpoint / guilds / { guild . id } // Rate limiter / guilds / { guild . id } // Discord documentation https : // discordapp . com / developers / docs / resources / guild#delete - guild // Reviewed 2018 - 08 - 17 // Comment -
func DeleteGuild(client httd.Deleter, id Snowflake) (err error) {
	resp, _, err := client.Delete(&httd.Request{
		Ratelimiter: ratelimitGuild(id),
		Endpoint:    endpoint.Guild(id),
	})
	if err != nil {
		return
	}
	if resp.StatusCode != http.StatusNoContent {
		msg := "unexpected http response code. Got " + resp.Status + ", wants " + http.StatusText(http.StatusNoContent)
		err = errors.New(msg)
	}
	return
}
func DeleteGuild ( client httd . Deleter , id Snowflake ) ( err error ) { resp , _ , err := client . Delete ( & httd . Request { Ratelimiter : ratelimitGuild ( id ) , Endpoint : endpoint . Guild ( id ) , } ) if err != nil { return } if resp . StatusCode != http . StatusNoContent { msg := " " + resp . Status + " " + http . StatusText ( http . StatusNoContent ) err = errors . New ( msg ) } return }
DeleteGuild [DELETE]     Delete a guild permanently.
DeleteGuild [ DELETE ] Delete a guild permanently .