Skip to content

Commit

Permalink
Add components parameter in edit_response doc (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
wildanrfq authored Apr 27, 2022
1 parent 185acea commit e384e4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/discordrb/data/interaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ def update_message(content: nil, tts: nil, embeds: nil, allowed_mentions: nil, f
# @param content [String] The content of the message.
# @param embeds [Array<Hash, Webhooks::Embed>] The embeds for the message.
# @param allowed_mentions [Hash, AllowedMentions] Mentions that can ping on this message.
# @param components [Array<#to_h>] An array of components
# @return [InteractionMessage] The updated response message.
# @yieldparam builder [Webhooks::Builder] An optional message builder. Arguments passed to the method overwrite builder data.
def edit_response(content: nil, embeds: nil, allowed_mentions: nil, components: nil)
Expand Down

0 comments on commit e384e4a

Please sign in to comment.