We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffa8066 commit 3815353Copy full SHA for 3815353
app/lib/discord/events/puzzle_answer.rb
@@ -61,7 +61,7 @@ def handle(event)
61
content: "You have already answered this puzzle. You cannot change your answer.",
62
ephemeral: true # Only the user sees this message
63
)
64
- return
+ nil
65
end
66
67
db/seeds.rb
@@ -71,10 +71,9 @@
71
user_id: user.id,
72
puzzle_id: Puzzle.all.sample.id,
73
server_id: server.id,
74
- choice: ["ruby", "rails"].sample,
75
- is_correct: [true, false].sample
+ choice: [ "ruby", "rails" ].sample,
+ is_correct: [ true, false ].sample
76
77
78
79
80
-
0 commit comments