Instance Method

pruneMembers(in:for:then:)

Prunes members for x amount of days in a guild

Declaration

func pruneMembers(in guildId: Snowflake, for limit: Int, then completion: ((Int?, RequestError?) -> Void)? = nil)

Parameters

guildId

Guild to prune members in

limit

Amount of days for prunned users