diff --git a/.example.env b/.example.env index 3a17b5ba..ea94254b 100644 --- a/.example.env +++ b/.example.env @@ -4,6 +4,7 @@ export DATABASE_URL='postgres:///royalnet?host=/run/postgresql/' export TELEGRAM_DATABASE_URL='postgres:///royalnet?host=/run/postgresql/' export TELEGRAM_BOT_TOKEN='1234567890:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' export TELEGRAM_NOTIFICATION_CHATID='-1001899805480' +export TELEGRAM_MATCHMAKING_CHATID='-1002199277242' export BROOCH_DATABASE_URL='postgres:///royalnet?host=/run/postgresql/' export BROOCH_GRAPHQL_URL='https://api.stratz.com/graphql' diff --git a/src/instance/config.rs b/src/instance/config.rs index 9770ea47..27001afb 100644 --- a/src/instance/config.rs +++ b/src/instance/config.rs @@ -19,6 +19,8 @@ pub mod service_telegram { TELEGRAM_DATABASE_URL: String, TELEGRAM_BOT_TOKEN: String, TELEGRAM_NOTIFICATION_CHATID?: String > i64 -> crate::instance::config::ChatIdConversionHack -> teloxide::types::ChatId, + // TODO: Unimplemented + TELEGRAM_MATCHMAKING_CHATID?: String > i64 -> crate::instance::config::ChatIdConversionHack -> teloxide::types::ChatId, } }