Skip to content

Commit 4992eff

Browse files
committed
Use custom emojis in the message buttons
1 parent c020c5f commit 4992eff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/jobs/daily_puzzle_job.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ def puzzle_buttons(puzzle_id)
3939
view.row do |row|
4040
row.button(
4141
style: :primary,
42-
emoji: "🔴",
42+
emoji: ENV["RUBY_EMOJI_ID"] || "🔴",
4343
label: "Ruby",
4444
custom_id: "ruby__#{puzzle_id}"
4545
)
4646
row.button(
4747
style: :primary,
48-
emoji: "🚂",
48+
emoji: ENV["RAILS_EMOJI_ID"] || "🚂",
4949
label: "Rails",
5050
custom_id: "rails__#{puzzle_id}"
5151
)

0 commit comments

Comments
 (0)