diff --git a/docker-compose.yml b/docker-compose.yml index 5617e6b93d..30f2027395 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,10 +6,5 @@ services: context: . dockerfile: Dockerfile container_name: streetmerchant -# environment: -# - SHOW_ONLY_SERIES=sonyps5c,sonyps5de -# - SLACK_CHANNEL=ps5 -# - SLACK_TOKEN=xoxb-281413785376-1660072221158-L0nUj8g7o0sf0VgZARfngull -# - STORES=amazon-uk,game,argos,box,currys,johnlewis,shopto,smythstoys,very env_file: - dotenv diff --git a/dotenv.env b/dotenv.env deleted file mode 100644 index 2b92b72c2a..0000000000 --- a/dotenv.env +++ /dev/null @@ -1,114 +0,0 @@ -ASCII_BANNER= -ASCII_COLOR= -AUTO_ADD_TO_CART= -BROWSER_TRUSTED= -COUNTRY= -DESKTOP_NOTIFICATIONS= -DISCORD_NOTIFY_GROUP= -DISCORD_NOTIFY_GROUP_3060TI= -DISCORD_NOTIFY_GROUP_3070= -DISCORD_NOTIFY_GROUP_3080= -DISCORD_NOTIFY_GROUP_3090= -DISCORD_NOTIFY_GROUP_CORSAIR_SF= -DISCORD_NOTIFY_GROUP_RX6800= -DISCORD_NOTIFY_GROUP_RX6800XT= -DISCORD_NOTIFY_GROUP_RX6900XT= -DISCORD_NOTIFY_GROUP_RYZEN5600= -DISCORD_NOTIFY_GROUP_RYZEN5800= -DISCORD_NOTIFY_GROUP_RYZEN5900= -DISCORD_NOTIFY_GROUP_RYZEN5950= -DISCORD_NOTIFY_GROUP_SONYPS5C= -DISCORD_NOTIFY_GROUP_SONYPS5DE= -DISCORD_NOTIFY_GROUP_XBOXSX= -DISCORD_NOTIFY_GROUP_XBOXSS= -DISCORD_NOTIFY_GROUP_TEST= -DISCORD_WEB_HOOK= -EMAIL_PASSWORD= -EMAIL_TO= -EMAIL_USERNAME= -HEADLESS= -IN_STOCK_WAIT_TIME= -LOG_LEVEL= -LOW_BANDWIDTH= -MAX_PRICE_SERIES_3060TI= -MAX_PRICE_SERIES_3070= -MAX_PRICE_SERIES_3080= -MAX_PRICE_SERIES_3090= -MAX_PRICE_SERIES_CORSAIR_SF= -MAX_PRICE_SERIES_RX6800= -MAX_PRICE_SERIES_RX6800XT= -MAX_PRICE_SERIES_RX6900XT= -MAX_PRICE_SERIES_RYZEN5600= -MAX_PRICE_SERIES_RYZEN5800= -MAX_PRICE_SERIES_RYZEN5900= -MAX_PRICE_SERIES_RYZEN5950= -MAX_PRICE_SERIES_SONYPS5C= -MAX_PRICE_SERIES_SONYPS5DE= -MAX_PRICE_SERIES_XBOXSS= -MAX_PRICE_SERIES_XBOXSX= -MAX_PRICE_SERIES_TEST= -MICROCENTER_LOCATION= -MQTT_BROKER_ADDRESS= -MQTT_BROKER_PORT= -MQTT_CLIENT_ID= -MQTT_PASSWORD= -MQTT_QOS= -MQTT_TOPIC= -MQTT_USERNAME= -NVIDIA_ADD_TO_CART_ATTEMPTS= -NVIDIA_SESSION_TTL= -OPEN_BROWSER= -PAGE_BACKOFF_MIN= -PAGE_BACKOFF_MAX= -PAGE_SLEEP_MIN= -PAGE_SLEEP_MAX= -PAGE_TIMEOUT= -PAGERDUTY_INTEGRATION_KEY= -PAGERDUTY_SEVERITY= -PHILIPS_HUE_API_KEY= -PHILIPS_HUE_CLOUD_ACCESS_TOKEN= -PHILIPS_HUE_CLOUD_CLIENT_ID= -PHILIPS_HUE_CLOUD_CLIENT_SECRET= -PHILIPS_HUE_CLOUD_REFRESH_TOKEN= -PHILIPS_HUE_LAN_BRIDGE_IP= -PHILIPS_HUE_LIGHT_COLOR= -PHILIPS_HUE_LIGHT_IDS= -PHILIPS_HUE_LIGHT_PATTERN= -PHONE_CARRIER= -PHONE_NUMBER= -PLAY_SOUND= -PROXY_ADDRESS= -PROXY_PROTOCOL= -PROXY_PORT= -PUSHBULLET= -PUSHOVER_EXPIRE= -PUSHOVER_RETRY= -PUSHOVER_TOKEN= -PUSHOVER_USER= -PUSHOVER_PRIORITY= -SCREENSHOT= -SHOW_ONLY_BRANDS= -SHOW_ONLY_MODELS= -SHOW_ONLY_SERIES=sonyps5c,sonyps5de -SLACK_CHANNEL=ps5 -SLACK_TOKEN=xoxb-281413785376-1660072221158-L0nUj8g7o0sf0VgZARfngull -SMTP_ADDRESS= -SMTP_PORT= -STORES=amazon-uk,game,argos,box,currys,johnlewis,shopto,smythstoys,very -TELEGRAM_ACCESS_TOKEN= -TELEGRAM_CHAT_ID= -TWILIO_ACCOUNT_SID= -TWILIO_AUTH_TOKEN= -TWILIO_FROM_NUMBER= -TWILIO_TO_NUMBER= -TWITCH_ACCESS_TOKEN= -TWITCH_CHANNEL= -TWITCH_CLIENT_ID= -TWITCH_CLIENT_SECRET= -TWITCH_REFRESH_TOKEN= -TWITTER_ACCESS_TOKEN_KEY= -TWITTER_ACCESS_TOKEN_SECRET= -TWITTER_CONSUMER_KEY= -TWITTER_CONSUMER_SECRET= -TWITTER_TWEET_TAGS= -WEB_PORT= diff --git a/src/notification/slack.ts b/src/notification/slack.ts index ecc1b4dfbf..df600763f7 100644 --- a/src/notification/slack.ts +++ b/src/notification/slack.ts @@ -4,9 +4,6 @@ import {WebClient} from '@slack/web-api'; import {config} from '../config'; const {channel, token} = config.notifications.slack; - -console.log({channel, token}) - const web = new WebClient(token); export function sendSlackMessage(link: Link, store: Store) {