Skip to content

Commit

Permalink
run rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
spotlightishere committed Aug 15, 2022
1 parent c9d0748 commit eee861c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/events.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ def self.send_embed(message = '', embed = nil, attachments = nil)

# Simple wrapper to allow respond not require the content keyword.
# (see Interaction#respond)
def respond(content, tts: nil, embeds: nil, allowed_mentions: nil, flags: 0, ephemeral: nil, wait: false, components: nil, &block)
return @interaction.respond(
def respond(content, tts: nil, embeds: nil, allowed_mentions: nil, flags: 0, ephemeral: nil,
wait: false, components: nil, &block)
@interaction.respond(
content: content, tts: tts, embeds: embeds, allowed_mentions: allowed_mentions,
flags: flags, ephemeral: ephemeral, wait: wait, components: components, &block
)
Expand Down

0 comments on commit eee861c

Please sign in to comment.