1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 11:34:18 +00:00

Add unimplemented optional config key TELEGRAM_MATCHMAKING_CHATID

This commit is contained in:
Steffo 2024-08-25 13:07:40 +02:00
parent b9a041ab06
commit e8fd43d978
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0
2 changed files with 3 additions and 0 deletions

View file

@ -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'

View file

@ -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,
}
}