chore: update voting URLs
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user