Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
fix prize?
Browse files Browse the repository at this point in the history
  • Loading branch information
Chew committed Jan 24, 2019
1 parent 86af442 commit 82884e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/plugins/nextgame.rb
Expand Up @@ -65,9 +65,9 @@ module NextGame
embed.timestamp = Time.parse(showstuff['startTime'])

if points
embed.add_field(name: 'Prize', value: "#{prize.to_sc} points", inline: true)
embed.add_field(name: 'Prize', value: "#{prize.to_i.to_sc} points", inline: true)
else
embed.add_field(name: 'Prize', value: "$#{prize.to_sc}", inline: true)
embed.add_field(name: 'Prize', value: "$#{prize.to_i.to_sc}", inline: true)
end
embed.add_field(name: 'Type', value: gametype, inline: true)
end
Expand Down

0 comments on commit 82884e2

Please sign in to comment.