From 9720ad3b7b66d4a75611ff8fc6c8bc880e1f45f7 Mon Sep 17 00:00:00 2001
From: Pavel Kirilin <win10@list.ru>
Date: Wed, 22 Feb 2023 13:12:14 +0400
Subject: [PATCH] Added THB currency.

Signed-off-by: Pavel Kirilin <win10@list.ru>
---
 src/bot/handlers/basic/currency_converter.rs | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/bot/handlers/basic/currency_converter.rs b/src/bot/handlers/basic/currency_converter.rs
index 870beba..76ded65 100644
--- a/src/bot/handlers/basic/currency_converter.rs
+++ b/src/bot/handlers/basic/currency_converter.rs
@@ -26,6 +26,7 @@ lazy_static::lazy_static! {
         "TRY",
         "AMD",
         "RSD",
+        "THB"
     ];
 
     static ref CONVERTION_ALIASES: HashMap<&'static str, &'static str> = HashMap::from(
@@ -64,6 +65,8 @@ lazy_static::lazy_static! {
             ("драм", "AMD"),
             // RSD
             ("динар", "RSD"),
+            // THB
+            ("бат", "THB"),
         ]
     );
 
-- 
GitLab