We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e122ea0 commit 619b27cCopy full SHA for 619b27c
1 file changed
lib/baseballbot/templates/components/pick_the_stick.rb
@@ -4,7 +4,7 @@ class Baseballbot
4
module Templates
5
module Components
6
class PickTheStick
7
- BASE_URL = 'https://www.pick-the-stick.com/api/standings?api_token=%<token>s&team=%<team_code>s&sort=desc'
+ BASE_URL = 'https://www.pick-the-stick.com/api/standings?api_token=%<token>s&team=%<team_code>s&sort=asc'
8
9
include MarkdownHelpers
10
@@ -23,7 +23,11 @@ def initialize(subreddit)
23
def to_s
24
return '[](/pickthestick "Team not configured")' unless @subreddit.team&.code
25
26
- table(headers: TABLE_HEADERS, rows:)
+ <<~MARKDOWN
27
+ # Pick the Stick Standings
28
+
29
+ #{table(headers: TABLE_HEADERS, rows:)}
30
+ MARKDOWN
31
end
32
33
protected
0 commit comments