Skip to content

Commit c8d4a3f

Browse files
FionaDLABizzinotto
authored andcommitted
IIRR-13 Update with rubocop suggestions
1 parent aa0fc7c commit c8d4a3f

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

app/lib/discord/events/set_channel.rb

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ def handle(event)
2727
display_settings(event)
2828
end
2929

30-
30+
3131
private
3232

3333
def display_settings(event)
3434
content = <<~MSG
3535
Here you can configure the bot to suit the needs of the community!
36-
36+
3737
What's the best channel to send Ruby or Rails questions to?
3838
MSG
3939
channel_select = Discordrb::Components::View.new do |view|
@@ -44,8 +44,8 @@ def display_settings(event)
4444

4545
event.respond(content: content, ephemeral: true, components: channel_select)
4646
end
47-
48-
47+
48+
4949

5050
def listen_to_channel_select
5151
# Listen for the channel select event
@@ -63,4 +63,3 @@ def listen_to_channel_select
6363
end
6464
end
6565
end
66-

app/models/discord_server.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# To house data and logic related to the discord servers that the bot is added to.
22
class DiscordServer < ApplicationRecord
3-
43
end

0 commit comments

Comments
 (0)