From d1a907ec70d9ad04aa4fae0a7cee42137630404d Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Sun, 29 Jan 2023 22:43:32 +0300 Subject: [PATCH 01/28] Update discord_bulk_msg_sender.py --- discord_bulk_msg_sender.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord_bulk_msg_sender.py b/discord_bulk_msg_sender.py index c5eaf4d..a86ae56 100644 --- a/discord_bulk_msg_sender.py +++ b/discord_bulk_msg_sender.py @@ -19,7 +19,7 @@ print('Twitter: @CryptoBusher\n') -def init_raw_accounts(_raw_accounts: list) -> list: +def init_raw_accounts(_raw_accounts: list[str]) -> list[DiscordAccount]: _account_objects = [] for account in _raw_accounts: try: From d16a12146f6689c03c4b393c4995cf9e5974afdd Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Sun, 29 Jan 2023 22:45:02 +0300 Subject: [PATCH 02/28] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f677357..2718d2e 100644 --- a/README.md +++ b/README.md @@ -17,10 +17,10 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one 4. If the loop is disabled - the account is deleted from the queue after sending the first message ## First start -1. Install python +1. Install python v 3.10.9 2. Download the repo 3. Run cmd, navigate to the project folder -4. Run the command `pip install -r requirements.txt` to install all required dependencies +4. Run the command `python3.10 -m pip install -r requirements.txt` to install all required dependencies 5. Prepare data in the 'data/accounts.txt' file. 1 line = 1 account. Check the 'data/accounts_sample' file to see the correct format. 1. custom_name_for_logs: choose any name, for logging purposes 2. discord_token: discord token that can be obtained from the browser's Network tab @@ -32,5 +32,5 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one 8. max_delay_sec: max delay before sending the message in seconds 9. start_on_the_run_True_or_False: set True if you wish the bot to send the first message without delays right after you run the script, and set False if you wish to use the delay before the first message 10. loop_True_or_False: set True if you wish to send messages in the loop, set False if you wish to send only 1 message -6. Run the bot using the `python discord_bulk_msg_sender.py` command +6. Run the bot using the `python3.10 discord_bulk_msg_sender.py` command 7. Failed accounts can be found in the 'data/failed_accounts' folder From a10188a830b81eff350da0fbbab5510c4847d8aa Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Sun, 29 Jan 2023 22:45:57 +0300 Subject: [PATCH 03/28] Update accounts_sample.txt --- data/accounts_sample.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/accounts_sample.txt b/data/accounts_sample.txt index b16a56c..a8dab32 100644 --- a/data/accounts_sample.txt +++ b/data/accounts_sample.txt @@ -1,3 +1,3 @@ -custom_name_for_logs|discord_token|http_proxy|useragent|discord_chat_id|['message1', 'message2', 'message3'.....]|min_delay_sec|max_delay_sec|start_on_the_run_True_or_False|loop_True_or_False -custom_name_for_logs|discord_token|http_proxy|useragent|discord_chat_id|['message1', 'message2', 'message3'.....]|min_delay_sec|max_delay_sec|start_on_the_run_True_or_False|loop_True_or_False -custom_name_for_logs|discord_token|http_proxy|useragent|discord_chat_id|['message1', 'message2', 'message3'.....]|min_delay_sec|max_delay_sec|start_on_the_run_True_or_False|loop_True_or_False \ No newline at end of file +custom_name_for_logs|discord_token|http_proxy|useragent|discord_chat_id|['message1', 'message2', 'message3'.....]|min_delay_sec|max_delay_sec|True|True +custom_name_for_logs|discord_token|http_proxy|useragent|discord_chat_id|['message1', 'message2', 'message3'.....]|min_delay_sec|max_delay_sec|True|True +custom_name_for_logs|discord_token|http_proxy|useragent|discord_chat_id|['message1', 'message2', 'message3'.....]|min_delay_sec|max_delay_sec|True|True From fb6119e3918ced15c77091c5a4b5edc467074f83 Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Sun, 29 Jan 2023 22:47:49 +0300 Subject: [PATCH 04/28] Update discord_bulk_msg_sender.py --- discord_bulk_msg_sender.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/discord_bulk_msg_sender.py b/discord_bulk_msg_sender.py index a86ae56..d4fda7c 100644 --- a/discord_bulk_msg_sender.py +++ b/discord_bulk_msg_sender.py @@ -13,10 +13,8 @@ f = Figlet(font='5lineoblique') -print(f.renderText('Busher')) -print('Telegram channel: @CryptoKiddiesClub') +print(f.renderText('tera2206')) print('Telegram chat: @CryptoKiddiesChat') -print('Twitter: @CryptoBusher\n') def init_raw_accounts(_raw_accounts: list[str]) -> list[DiscordAccount]: From 728e736372a92f812956f3c260dadc204da08775 Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Sat, 11 Feb 2023 09:36:07 +0300 Subject: [PATCH 05/28] Update README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 2718d2e..2ccc732 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,22 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one ## First start 1. Install python v 3.10.9 + sudo apt update +sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev + +sudo wget https://www.python.org/ftp/python/3.10.9/Python-3.10.9rc2.tgz + +sudo tar -xf Python-3.10.9.tgz + +cd Python-3.10.9rc2 +./configure --enable-optimizations + +sudo make -j 2 + +sudo make altinstall + +python3.10 --version + 2. Download the repo 3. Run cmd, navigate to the project folder 4. Run the command `python3.10 -m pip install -r requirements.txt` to install all required dependencies From 043fae4137a47de64e12c8d599a569dca0b21f43 Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Sat, 11 Feb 2023 10:00:44 +0300 Subject: [PATCH 06/28] Update README.md --- README.md | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 2ccc732..36cca0f 100644 --- a/README.md +++ b/README.md @@ -17,20 +17,12 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one 4. If the loop is disabled - the account is deleted from the queue after sending the first message ## First start -1. Install python v 3.10.9 - sudo apt update -sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev - -sudo wget https://www.python.org/ftp/python/3.10.9/Python-3.10.9rc2.tgz - -sudo tar -xf Python-3.10.9.tgz - -cd Python-3.10.9rc2 -./configure --enable-optimizations - -sudo make -j 2 - -sudo make altinstall +1. Install python v 3.10.* + `sudo apt update` + `sudo apt install software-properties-common -y` + `sudo add-apt-repository ppa:deadsnakes/ppa` + `sudo apt install python3.10` + `python3.10 --version` python3.10 --version From f8ea42722fb8b32b90d5453fa8f7acfcd2031c8c Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Sat, 11 Feb 2023 10:11:49 +0300 Subject: [PATCH 07/28] Update README.md --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 36cca0f..a31be43 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,13 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one `sudo add-apt-repository ppa:deadsnakes/ppa` `sudo apt install python3.10` `python3.10 --version` - -python3.10 --version + +1.1 Install Python PIP with 3.10 + `sudo apt install python3-pip` + `wget https://bootstrap.pypa.io/get-pip.py` + `python3.10 get-pip.py` + `python3.10 -m pip install --upgrade pip` + `pip3.10 --version` 2. Download the repo 3. Run cmd, navigate to the project folder From 1d145f9d25730bbe84afd3486c2296e69ee5cb27 Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Sat, 11 Feb 2023 10:12:35 +0300 Subject: [PATCH 08/28] Update README.md --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index a31be43..3465b9f 100644 --- a/README.md +++ b/README.md @@ -18,18 +18,18 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one ## First start 1. Install python v 3.10.* - `sudo apt update` - `sudo apt install software-properties-common -y` - `sudo add-apt-repository ppa:deadsnakes/ppa` - `sudo apt install python3.10` - `python3.10 --version` + sudo apt update + sudo apt install software-properties-common -y + sudo add-apt-repository ppa:deadsnakes/ppa + sudo apt install python3.10 + python3.10 --version 1.1 Install Python PIP with 3.10 - `sudo apt install python3-pip` - `wget https://bootstrap.pypa.io/get-pip.py` - `python3.10 get-pip.py` - `python3.10 -m pip install --upgrade pip` - `pip3.10 --version` + sudo apt install python3-pip + wget https://bootstrap.pypa.io/get-pip.py + python3.10 get-pip.py + python3.10 -m pip install --upgrade pip + pip3.10 --version 2. Download the repo 3. Run cmd, navigate to the project folder From 57071b7116a2941909cb470b4257d51b05170785 Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Wed, 5 Apr 2023 11:18:24 +0300 Subject: [PATCH 09/28] Update README.md --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 3465b9f..d69ae2a 100644 --- a/README.md +++ b/README.md @@ -18,18 +18,18 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one ## First start 1. Install python v 3.10.* - sudo apt update - sudo apt install software-properties-common -y - sudo add-apt-repository ppa:deadsnakes/ppa - sudo apt install python3.10 - python3.10 --version + `sudo apt update` + `sudo apt install software-properties-common -y` + `sudo add-apt-repository ppa:deadsnakes/ppa` + `sudo apt install python3.10` + `python3.10 --version` -1.1 Install Python PIP with 3.10 - sudo apt install python3-pip - wget https://bootstrap.pypa.io/get-pip.py - python3.10 get-pip.py - python3.10 -m pip install --upgrade pip - pip3.10 --version +1.1 Install Python PIP with 3.10` + `sudo apt install python3-pip` + `wget https://bootstrap.pypa.io/get-pip.py` + `python3.10 get-pip.py` + `python3.10 -m pip install --upgrade pip` + `pip3.10 --version` 2. Download the repo 3. Run cmd, navigate to the project folder From 277ba3ee98d944a4afc4c500c669c31bdd224b8c Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Wed, 5 Apr 2023 11:20:36 +0300 Subject: [PATCH 10/28] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index d69ae2a..bc6cc53 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one `sudo apt install python3-pip` `wget https://bootstrap.pypa.io/get-pip.py` `python3.10 get-pip.py` + `python3.10 -m pip install --upgrade pip` `pip3.10 --version` From 9920c75467424d259a5234f8a1e2e720562960a0 Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Wed, 5 Apr 2023 11:21:40 +0300 Subject: [PATCH 11/28] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bc6cc53..aa445e5 100644 --- a/README.md +++ b/README.md @@ -24,11 +24,12 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one `sudo apt install python3.10` `python3.10 --version` -1.1 Install Python PIP with 3.10` +1.1 Install Python PIP with 3.10 + + `sudo apt install python3-pip` `wget https://bootstrap.pypa.io/get-pip.py` `python3.10 get-pip.py` - `python3.10 -m pip install --upgrade pip` `pip3.10 --version` From cfcee1b239127e001fba834aa523f9209d2119c5 Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Wed, 5 Apr 2023 11:22:07 +0300 Subject: [PATCH 12/28] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index aa445e5..60cb268 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,8 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one ## First start 1. Install python v 3.10.* + + `sudo apt update` `sudo apt install software-properties-common -y` `sudo add-apt-repository ppa:deadsnakes/ppa` From 2a24833ba94d2858bb63c8dbfd0914895293f4f5 Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Wed, 5 Apr 2023 11:22:34 +0300 Subject: [PATCH 13/28] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 60cb268..431b7c7 100644 --- a/README.md +++ b/README.md @@ -29,11 +29,11 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one 1.1 Install Python PIP with 3.10 - `sudo apt install python3-pip` - `wget https://bootstrap.pypa.io/get-pip.py` - `python3.10 get-pip.py` - `python3.10 -m pip install --upgrade pip` - `pip3.10 --version` + sudo apt install python3-pip + wget https://bootstrap.pypa.io/get-pip.py + python3.10 get-pip.py + python3.10 -m pip install --upgrade pip + pip3.10 --version 2. Download the repo 3. Run cmd, navigate to the project folder From d267ea33b36cb65d6c75293bcd41f434ce105172 Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Wed, 5 Apr 2023 11:23:09 +0300 Subject: [PATCH 14/28] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 431b7c7..bcae145 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,11 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one 1. Install python v 3.10.* - `sudo apt update` - `sudo apt install software-properties-common -y` - `sudo add-apt-repository ppa:deadsnakes/ppa` - `sudo apt install python3.10` - `python3.10 --version` + sudo apt update + sudo apt install software-properties-common -y + sudo add-apt-repository ppa:deadsnakes/ppa + sudo apt install python3.10 + python3.10 --version 1.1 Install Python PIP with 3.10 From 7b9a77d550a8782272d231446220089686826959 Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Wed, 5 Apr 2023 11:23:31 +0300 Subject: [PATCH 15/28] Update README.md --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bcae145..8f6c1d3 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,15 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one 1. Install python v 3.10.* - sudo apt update + `sudo apt update + sudo apt install software-properties-common -y + sudo add-apt-repository ppa:deadsnakes/ppa + sudo apt install python3.10 - python3.10 --version + + python3.10 --version` 1.1 Install Python PIP with 3.10 From 96090f13ad13608985d3ed8570b836d0b583bf74 Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Wed, 5 Apr 2023 11:23:48 +0300 Subject: [PATCH 16/28] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8f6c1d3..8a4117f 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one 4. If the loop is disabled - the account is deleted from the queue after sending the first message ## First start -1. Install python v 3.10.* +1. Install python v 3.10 `sudo apt update From da493a5747f3f6fcd8d5aee52a7e3d2f05668dc5 Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Wed, 5 Apr 2023 11:24:01 +0300 Subject: [PATCH 17/28] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8a4117f..a9aa2e9 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one 1. Install python v 3.10 - `sudo apt update + `sudo apt update` sudo apt install software-properties-common -y From 1f782a9e5d38fa9eba28ed99f00bf98b225b1d53 Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Wed, 5 Apr 2023 11:24:32 +0300 Subject: [PATCH 18/28] Update README.md --- README.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a9aa2e9..eca6c1d 100644 --- a/README.md +++ b/README.md @@ -21,14 +21,10 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one `sudo apt update` - - sudo apt install software-properties-common -y - - sudo add-apt-repository ppa:deadsnakes/ppa - - sudo apt install python3.10 - - python3.10 --version` + `sudo apt install software-properties-common -y` + `sudo add-apt-repository ppa:deadsnakes/ppa` + `sudo apt install python3.10` + `python3.10 --version` 1.1 Install Python PIP with 3.10 From 7933bd70027be364aec4b22a23167f929beccd89 Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Wed, 5 Apr 2023 11:25:37 +0300 Subject: [PATCH 19/28] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index eca6c1d..cf5e4e9 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,11 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one 1. Install python v 3.10 - `sudo apt update` - `sudo apt install software-properties-common -y` - `sudo add-apt-repository ppa:deadsnakes/ppa` - `sudo apt install python3.10` - `python3.10 --version` + ```sudo apt update + sudo apt install software-properties-common -y + sudo add-apt-repository ppa:deadsnakes/ppa` + sudo apt install python3.10 + python3.10 --version``` 1.1 Install Python PIP with 3.10 From 969bfe27741dac5374470f387b5066b79f2d79e7 Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Wed, 5 Apr 2023 11:26:48 +0300 Subject: [PATCH 20/28] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cf5e4e9..3caf55f 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,11 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one 1. Install python v 3.10 - ```sudo apt update + sudo apt update sudo apt install software-properties-common -y sudo add-apt-repository ppa:deadsnakes/ppa` sudo apt install python3.10 - python3.10 --version``` + python3.10 --version 1.1 Install Python PIP with 3.10 From ac44a8b8b4418e33201385d2162b939b869d2934 Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Wed, 5 Apr 2023 11:27:50 +0300 Subject: [PATCH 21/28] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3caf55f..2d0ae90 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one sudo apt update sudo apt install software-properties-common -y - sudo add-apt-repository ppa:deadsnakes/ppa` + sudo add-apt-repository ppa:deadsnakes/ppa sudo apt install python3.10 python3.10 --version From c345ddad0ed8591845edc86cc1ba38e1cc8e5ba3 Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Wed, 5 Apr 2023 11:34:21 +0300 Subject: [PATCH 22/28] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 2d0ae90..7ca9635 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,6 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one ## First start 1. Install python v 3.10 - sudo apt update sudo apt install software-properties-common -y sudo add-apt-repository ppa:deadsnakes/ppa From 020fcf3a3cc11ba3f223d1034186ed4197b9d593 Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Wed, 5 Apr 2023 11:35:22 +0300 Subject: [PATCH 23/28] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7ca9635..01f1341 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one ## First start 1. Install python v 3.10 - sudo apt update + ```sudo apt update``` sudo apt install software-properties-common -y sudo add-apt-repository ppa:deadsnakes/ppa sudo apt install python3.10 From f498c475028e36d4fcc42392f0c36c5a67adeff7 Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Wed, 5 Apr 2023 11:36:26 +0300 Subject: [PATCH 24/28] Update README.md --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 01f1341..d79245b 100644 --- a/README.md +++ b/README.md @@ -20,10 +20,13 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one 1. Install python v 3.10 ```sudo apt update``` - sudo apt install software-properties-common -y - sudo add-apt-repository ppa:deadsnakes/ppa - sudo apt install python3.10 - python3.10 --version + ```sudo apt install software-properties-common -y``` + ```sudo add-apt-repository ppa:deadsnakes/ppa``` + ```sudo apt install python3.10``` + ```python3.10 --version``` + + + 1.1 Install Python PIP with 3.10 From 2697178273221ee59c53e0d8d18bcfa4e0613012 Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Wed, 5 Apr 2023 11:59:55 +0300 Subject: [PATCH 25/28] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d79245b..9b94424 100644 --- a/README.md +++ b/README.md @@ -32,14 +32,14 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one sudo apt install python3-pip - wget https://bootstrap.pypa.io/get-pip.py - python3.10 get-pip.py - python3.10 -m pip install --upgrade pip - pip3.10 --version + sudo wget https://bootstrap.pypa.io/get-pip.py + sudo python3.10 get-pip.py + sudo python3.10 -m pip install --upgrade pip + sudo pip3.10 --version 2. Download the repo 3. Run cmd, navigate to the project folder -4. Run the command `python3.10 -m pip install -r requirements.txt` to install all required dependencies +4. Run the command `sudo python3.10 -m pip install -r requirements.txt` to install all required dependencies 5. Prepare data in the 'data/accounts.txt' file. 1 line = 1 account. Check the 'data/accounts_sample' file to see the correct format. 1. custom_name_for_logs: choose any name, for logging purposes 2. discord_token: discord token that can be obtained from the browser's Network tab @@ -51,5 +51,5 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one 8. max_delay_sec: max delay before sending the message in seconds 9. start_on_the_run_True_or_False: set True if you wish the bot to send the first message without delays right after you run the script, and set False if you wish to use the delay before the first message 10. loop_True_or_False: set True if you wish to send messages in the loop, set False if you wish to send only 1 message -6. Run the bot using the `python3.10 discord_bulk_msg_sender.py` command +6. Run the bot using the `sudo python3.10 discord_bulk_msg_sender.py` command 7. Failed accounts can be found in the 'data/failed_accounts' folder From b03694cd6b166e1097c7334b35d0b62c243b126e Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Wed, 5 Apr 2023 12:03:35 +0300 Subject: [PATCH 26/28] Update README.md --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9b94424..71bfa0b 100644 --- a/README.md +++ b/README.md @@ -19,11 +19,12 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one ## First start 1. Install python v 3.10 - ```sudo apt update``` - ```sudo apt install software-properties-common -y``` - ```sudo add-apt-repository ppa:deadsnakes/ppa``` - ```sudo apt install python3.10``` - ```python3.10 --version``` + ```python + sudo apt update + sudo apt install software-properties-common -y + sudo add-apt-repository ppa:deadsnakes/ppa + sudo apt install python3.10 -y + python3.10 --version``` From 2047d7325be49ffb10d9fdbc97e898eab7f4d118 Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Wed, 5 Apr 2023 12:04:06 +0300 Subject: [PATCH 27/28] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 71bfa0b..602054a 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one sudo apt install software-properties-common -y sudo add-apt-repository ppa:deadsnakes/ppa sudo apt install python3.10 -y - python3.10 --version``` + python3.10 --version From 20970b99282a51025f3462889bcf0be5c574a977 Mon Sep 17 00:00:00 2001 From: tera2206 <77965478+tera2206@users.noreply.github.com> Date: Wed, 5 Apr 2023 15:47:30 +0300 Subject: [PATCH 28/28] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 602054a..bad0fa9 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ The script can send scheduled messages (f.e. every hour, every day, etc.) or one -1.1 Install Python PIP with 3.10 +1.1 Install Python PIP with 3.10 https://www.linuxcapable.com/how-to-install-python-3-10-on-ubuntu-22-04-lts/ хороший мануал по установке, но можно использовать команды ниже sudo apt install python3-pip