microsoft-rewards-bot
microsoft-rewards-bot copied to clipboard
Include additional parameters as variables
New run-farmer.sh script for launching the bot. It includes capturing two docker environment variables to be passed to the bot:
- DISCORD_WH=<URL>
--discord WEBHOOK_URL Use this argument to send logs to your Discord server through a webhook.
- CURRENCY_VALUE=<VALUE>
--currency CURRENCY Converts your points into your preferred currency. Available currencies: EUR, USD, AUD, INR, GBP, CAD, JPY, CHF, NZD, ZAR, BRL, CNY, HKD, SGD, THB
For now, you can just update the run command by providing your own. Later, I can add support for providing custom arguments with sane defaults.
docker run --rm -it \
--shm-size 4g \
-v "$PWD"/accounts.json:/app/accounts.json \
ghcr.io/haq/microsoft-rewards-bot python3 ms_rewards_farmer.py --dont-check-for-updates --no-webdriver-manager --on-finish exit --discord url --currency usd