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:
parent
b9a041ab06
commit
e8fd43d978
2 changed files with 3 additions and 0 deletions
|
@ -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'
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue