Skip to content

Commit

Permalink
Fix reference error in Guild#fetch_prune (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylhack authored Sep 9, 2024
1 parent 0f4179c commit 831d491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/discorb/guild.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,7 @@ def create_role(
def fetch_prune(days = 7, roles: [])
Async do
params = { days:, include_roles: @id.to_s }
param[:include_roles] = roles
params[:include_roles] = roles
.map(&:id)
.map(&:to_s)
.join(";") if roles.any?
Expand Down

0 comments on commit 831d491

Please # to comment.