diff --git a/README.md b/README.md index 6f3e18f..1aeb98e 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ - Multiple Trackers support - Check Heroku dynos stats - Heroku config support -- Updater (Only for Heroku) +- Updater (**NOTE**: You must upload your **token.pickle** to Index and fill your **token.pickle** url to **TOKEN_PICKLE_URL**, because your **token.pickle** will deleted after update) - Extracting **tar.xz** support - Create Tar Google Drive folder - Custom image support @@ -214,9 +214,8 @@ sudo docker run mirrorbot ## Deploying on Heroku -- Give stars and Fork this repo then upload **token.pickle** to your forks +- Give stars and Fork this repo then upload **token.pickle** to your forks, or you can upload your **token.pickle** to your Index and put your **token.pickle** link to **TOKEN_PICKLE_URL**. How to generate **token.pickle**? [Read here](https://github.com/breakdowns/slam-mirrorbot#getting-google-oauth-api-credential-file) - Hit the **DEPLOY TO HEROKU** button and follow the further instructions in the screen -- **NOTE**: If you didn't upload **token.pickle**, uploading will not work, or you can upload your **token.pickle** to your Index and put your **token.pickle** link to **TOKEN_PICKLE_URL**. How to generate **token.pickle**? [Read here](https://github.com/breakdowns/slam-mirrorbot#getting-google-oauth-api-credential-file) - Recommended to use 1 App in 1 Heroku accounts
@@ -309,6 +308,6 @@ Thanks to: - [magneto261290](https://github.com/magneto261290/) for some features - [SVR666](https://github.com/SVR666/) for some features & fixes - [anasty17](https://github.com/anasty17) for some features & help -- [breakdowns](https://github.com/breakdowns) for Slam +- [breakdowns](https://github.com/breakdowns) for slam-mirrorbot And many more people who aren't mentioned here, but may be found in [Contributors](https://github.com/breakdowns/slam-mirrorbot/graphs/contributors). diff --git a/bot/modules/speedtest.py b/bot/modules/speedtest.py index fd3c96d..7a5d883 100644 --- a/bot/modules/speedtest.py +++ b/bot/modules/speedtest.py @@ -21,7 +21,8 @@ def speedtest(update, context): Name:{result['server']['name']}
Country: {result['server']['country']}, {result['server']['cc']}
Sponsor: {result['server']['sponsor']}
-
+Latency: {result['server']['latency']}
+
SpeedTest Results
Upload: {speed_convert(result['upload'] / 8)}
Download: {speed_convert(result['download'] / 8)}
diff --git a/config_sample.env b/config_sample.env
index 9862007..889de31 100644
--- a/config_sample.env
+++ b/config_sample.env
@@ -14,7 +14,7 @@ TELEGRAM_HASH = ""
DATABASE_URL = ""
UPSTREAM_REPO = "https://github.com/breakdowns/slam-mirrorbot"
UPSTREAM_BRANCH = "master"
-# Optional config
+# OPTIONAL CONFIG
AUTHORIZED_CHATS = ""
IGNORE_PENDING_REQUESTS = ""
USE_SERVICE_ACCOUNTS = ""
@@ -31,7 +31,7 @@ STOP_DUPLICATE_MEGA = ""
SHORTENER = ""
SHORTENER_API = ""
IMAGE_URL = "https://telegra.ph/file/db03910496f06094f1f7a.jpg"
-# If you want to use credentials externally from index links, fill these vars with the direct links
+# If you want to use Credentials externally from Index Links, fill these vars with the direct links
# These are optional, if you don't know, simply leave them, don't fill anything in them.
ACCOUNTS_ZIP_URL = ""
TOKEN_PICKLE_URL = ""