Metadata-Version: 2.1
Name: Antiland
Version: 0.1
Summary: A package to create bots on Antiland.com
Project-URL: Homepage, https://github.com/TheUnsocialEngineer/Anti.py
Project-URL: Bug Tracker, https://github.com/TheUnsocialEngineer/Anti.py/issues
Author-email: TheUnsocialEngineer <TheUnsocialEngineer@protonmail.com>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Description-Content-Type: text/markdown

# Antiland.py
## Make Antiland Chaotic Again


Antiland.py is a python package to turn any antiland user into a fully functioning
bot account similar to discord.py

![GitHub](https://img.shields.io/github/license/TheUnsocialEngineer/Anti.py) 
![PyPI - Version](https://img.shields.io/pypi/v/Antiland.py?labelColor=black&color=blue&link=https%3A%2F%2Fpypi.org%2Fproject%2FAntiland.py%2F)






## Features

- Log in to an account
- send messages/images/videos 
- change profile settings
- Automate tedious tasks e.g banning/blocking
- It's python so go nuts



## Installation

Dillinger requires Python3 to run.

to install run pip3 install Antiland.py


## Installation

Antiland.py requires Python3 to run.

to install run pip3 install Antiland.py


## Usage/Examples

before you start you need to get the session token, dialogue id and chat url

to get the token and chat ID you use developer consoles network tab to look at any outgoing connection such as a sending a message, the session token is stored in the json payload e.g 

![App Screenshot](https://i.imgur.com/ZkVi80e.png)

to get the chat url you again use the network tab and this time you are looking for a heartbeat ping. once you find one you want to copy the request url as shown below

![App Screenshot](https://i.imgur.com/MaYCXdL.png)

below is a very basic example for logging in and registering a hello command
which when ran will send hello world into the chat

```python
import antiland

session_token="insert_session_token"
dialogue="insert_dialogue_id"
url="insert_chat_url"
prefix="!"

bot = anti.Bot(url,prefix,dialogue,session_token)

@bot.command("hello")
def say_hello():
    bot.send_message("hello world",session_token,dialogue)



if __name__ == "__main__":
    bot.start(session_token)
    
```

