Selaa lähdekoodia

[finance] fix btc/usd mapping.

Innokentii Enikeev 3 vuotta sitten
vanhempi
commit
ae4ec83097
3 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 1 0
      common.lisp
  2. 1 1
      plugins/finance.lisp
  3. 1 0
      telegram.lisp

+ 1 - 0
common.lisp

@@ -115,6 +115,7 @@
            :telegram-send-video-note
            :telegram-send-video-note
            :telegram-send-media-group
            :telegram-send-media-group
            :telegram-send-location
            :telegram-send-location
+           :telegram-send-venue
            :telegram-edit-message-live-location
            :telegram-edit-message-live-location
            :telegram-stop-message-live-location
            :telegram-stop-message-live-location
            :telegram-send-contact
            :telegram-send-contact

+ 1 - 1
plugins/finance.lisp

@@ -72,7 +72,7 @@
 ;; Formatting
 ;; Formatting
 (defvar *symbol-aliases*
 (defvar *symbol-aliases*
   (alexandria:plist-hash-table
   (alexandria:plist-hash-table
-   '("BTCUSD" ("btc" "bitcoin" "биток")
+   '("BTC/USD" ("btc" "bitcoin" "биток")
      "BRENT" ("чёрная" "нефть" "brent" "oil")
      "BRENT" ("чёрная" "нефть" "brent" "oil")
      "USDRUB=X" ("зелёный" "бакс" "доллар" "usd")
      "USDRUB=X" ("зелёный" "бакс" "доллар" "usd")
      "EURRUB=X" ("гейро" "eur" "евро")
      "EURRUB=X" ("гейро" "eur" "евро")

+ 1 - 0
telegram.lisp

@@ -17,6 +17,7 @@
            :telegram-send-video-note
            :telegram-send-video-note
            :telegram-send-media-group
            :telegram-send-media-group
            :telegram-send-location
            :telegram-send-location
+           :telegram-send-venue
            :telegram-edit-message-live-location
            :telegram-edit-message-live-location
            :telegram-stop-message-live-location
            :telegram-stop-message-live-location
            :telegram-send-contact
            :telegram-send-contact