This bot is designed to help none tech people get a TLS Visa appointment (bots like this one are used by agencies to sell appointments at ridiculous prices (sounds unfair to me).
- Python 3.9 or higher installed on your system.
- Required packages listed in requirements.txt.
-
Clone the repository:
git clone https://github.com/AnwarMEQOR/TLSBot.git
-
Navigate to the project directory:
cd TLSBot -
Install the required packages using pip:
pip install -r requirements.txt
or use:
pip3 install -r requirements.txt
-
Create a
.envfile in the root directory of the project. -
Add the following content to the
.envfile:center=<center_code> email=<your_email> password=<your_password> useTwilio=True account_sid=<your_account_sid> auth_token=<your_auth_token> phone_number=<your_phone_number> twilio_phone_number=<your_twilio_phone_number>- Replace
<center_code>with the center code (CAS for Casablanca, AGA for Agadir, FEZ for Fez, RAK for Marrakech, OUD for Oujda, RBA for Rabat & TNG for Tanger). - Replace
<your_email>with the email associated to your TLS account. - Replace
<your_password>with your password. - Replace useTwilio=True with useTwilio=False if you are not planning to use twilio.
- In case you want to use twilio, replace
<your_account_sid>,<your_auth_token>,<your_phone_number>, and<your_twilio_phone_number>with your Twilio account information.
- Replace
-
Run the bot:
python main.py
-
If using Python 3.11 or 3.12, you may encounter an error with the
playsoundlibrary during installation. In such cases, run the following command before installing the requirements:pip install playsound@git+https://github.com/taconi/playsound
Contributions are welcome. For major changes, please open an issue first to discuss what you would like to change.
Use this software at your own risk. The authors and contributors are not responsible for any misuse, damage, or other liabilities arising from the use of this software.