Compare commits

...

2 Commits

Author SHA1 Message Date
cottongin
d4e366ae8e feat: add TMP3 ticker for Trivia Murder Party 3
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-24 12:47:36 -04:00
cottongin
48603a02e7 chore: update voting URLs 2026-05-15 22:09:08 -04:00
4 changed files with 9 additions and 4 deletions

View File

@@ -13,6 +13,7 @@ var tickerSymbols = map[string]string{
"FBG4": "Fibbage 4", "FBG4": "Fibbage 4",
"TMP1": "Trivia Murder Party", "TMP1": "Trivia Murder Party",
"TMP2": "Trivia Murder Party 2", "TMP2": "Trivia Murder Party 2",
"TMP3": "Trivia Murder Party 3",
"DRWF": "Drawful", "DRWF": "Drawful",
"DRWA": "Drawful Animate", "DRWA": "Drawful Animate",
"DD": "Dirty Drawful", "DD": "Dirty Drawful",

View File

@@ -36,6 +36,8 @@ func TestDetectVote_Ticker(t *testing.T) {
{"qpl3++", true, "up", "QPL3"}, {"qpl3++", true, "up", "QPL3"},
{"TMP2--", true, "down", "TMP2"}, {"TMP2--", true, "down", "TMP2"},
{"tmp2--", true, "down", "TMP2"}, {"tmp2--", true, "down", "TMP2"},
{"TMP3++", true, "up", "TMP3"},
{"tmp3--", true, "down", "TMP3"},
{"DD++", true, "up", "DD"}, {"DD++", true, "up", "DD"},
{"dd--", true, "down", "DD"}, {"dd--", true, "down", "DD"},
{"YDKJ++", true, "up", "YDKJ"}, {"YDKJ++", true, "up", "YDKJ"},
@@ -104,6 +106,7 @@ func TestLookupTicker(t *testing.T) {
{"qpl3", "Quiplash 3", true}, {"qpl3", "Quiplash 3", true},
{"DD", "Dirty Drawful", true}, {"DD", "Dirty Drawful", true},
{"EW", "Earwax™", true}, {"EW", "Earwax™", true},
{"TMP3", "Trivia Murder Party 3", true},
{"TWEP", "The Wheel of Enormous Proportions", true}, {"TWEP", "The Wheel of Enormous Proportions", true},
{"ZZZZ", "", false}, {"ZZZZ", "", false},
{"", "", false}, {"", "", false},

View File

@@ -475,8 +475,8 @@ func (c *WebSocketClient) AnnounceSessionEnd() {
func (c *WebSocketClient) handlePollStart() { func (c *WebSocketClient) handlePollStart() {
c.log.Info("Poll started") c.log.Info("Poll started")
ircMsg := "🗳️ There is a new poll open! Your vote is \x02REQUIRED\x02 https://hso.ehsf.cc/vote" ircMsg := "🗳️ There is a new poll open! Your vote is \x02REQUIRED\x02 https://hyperspaceout.com/vote"
plainMsg := "🗳️ There is a new poll open! Your vote is *REQUIRED* https://hso.ehsf.cc/vote" plainMsg := "🗳️ There is a new poll open! Your vote is *REQUIRED* https://hyperspaceout.com/vote"
if c.formattedMessageCallback != nil { if c.formattedMessageCallback != nil {
c.formattedMessageCallback(ircMsg, plainMsg) c.formattedMessageCallback(ircMsg, plainMsg)
@@ -493,8 +493,8 @@ func (c *WebSocketClient) handlePollEnding(data json.RawMessage) {
c.log.Infof("Poll ending in %d seconds", pollData.DelaySeconds) c.log.Infof("Poll ending in %d seconds", pollData.DelaySeconds)
ircMsg := fmt.Sprintf("🗳️ \x02HURRY!\x02 https://hso.ehsf.cc/vote Go vote now, the poll is closing in %d seconds", pollData.DelaySeconds) ircMsg := fmt.Sprintf("🗳️ \x02HURRY!\x02 https://hyperspaceout.com/vote Go vote now, the poll is closing in %d seconds", pollData.DelaySeconds)
plainMsg := fmt.Sprintf("🗳️ *HURRY!* https://hso.ehsf.cc/vote Go vote now, the poll is closing in %d seconds", pollData.DelaySeconds) plainMsg := fmt.Sprintf("🗳️ *HURRY!* https://hyperspaceout.com/vote Go vote now, the poll is closing in %d seconds", pollData.DelaySeconds)
if c.formattedMessageCallback != nil { if c.formattedMessageCallback != nil {
c.formattedMessageCallback(ircMsg, plainMsg) c.formattedMessageCallback(ircMsg, plainMsg)

View File

@@ -132,6 +132,7 @@ Vote on a specific game by its ticker symbol:
| `TKOX` | Tee K.O. T-Shirt Knock Out | | `TKOX` | Tee K.O. T-Shirt Knock Out |
| `TMP1` | Trivia Murder Party | | `TMP1` | Trivia Murder Party |
| `TMP2` | Trivia Murder Party 2 | | `TMP2` | Trivia Murder Party 2 |
| `TMP3` | Trivia Murder Party 3 |
| `TP` | Talking Points | | `TP` | Talking Points |
| `TPM` | The Poll Mine | | `TPM` | The Poll Mine |
| `TWEP` | The Wheel of Enormous Proportions | | `TWEP` | The Wheel of Enormous Proportions |