From 3b73710c3b70f1de81ab9f16fb5e9a3309da3ca4 Mon Sep 17 00:00:00 2001 From: Stan James Date: Sun, 25 Feb 2018 07:28:32 -0600 Subject: [PATCH] Sample env variables --- env_sample.sh | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 env_sample.sh diff --git a/env_sample.sh b/env_sample.sh new file mode 100644 index 0000000..83917ed --- /dev/null +++ b/env_sample.sh @@ -0,0 +1,27 @@ +# Example env vars for bot + +export TELEGRAM_BOT_POSTGRES_URL="postgresql://postgres:postgres@localhost/origindb" + +read -r -d '' MESSAGE_BAN_PATTERNS << 'EOF' +# ETH +# e.g. F8C8405e85Cfe42551DEfeB2a4548A33bb3DF840 +[0-9a-fA-F]{40,40} +# BTC +# e.g. 13qt9rCA2CQLZedmUuDiPkwdcAJLsuTvLm +|[0-9a-zA-Z]{34,34} +EOF + +read -r -d '' MESSAGE_HIDE_PATTERNS << 'EOF' +# ETH +# e.g. F8C8405e85Cfe42551DEfeB2a4548A33bb3DF840 +|[0-9a-fA-F]{40,40} +# BTC +# e.g. 13qt9rCA2CQLZedmUuDiPkwdcAJLsuTvLm +|[0-9a-zA-Z]{34,34} +EOF + +export TELEGRAM_BOT_TOKEN="XXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" + +export NAME_BAN_PATTERNS="admin$" + +export CHAT_IDS="-250531994"