| Name | Antiland JSON |
| Version |
0.99.2
JSON |
| download |
| home_page | None |
| Summary | A package to create bots on Antiland.com |
| upload_time | 2024-08-30 20:11:20 |
| maintainer | None |
| docs_url | None |
| author | None |
| requires_python | >=3.7 |
| license | None |
| keywords |
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# 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



For more examples and documentation read the [Docs](https://antiland.readthedocs.io/en/latest/)
## 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
Antiland requires Python3 to run.
to install run pip3 install Antiland
## Usage/Examples
Before you start you need to get the session token which will allow you to log into the account and the dialogue id of the chat you want to listen for commands in
To get the token and 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

Below is an example of a bot that prints every message it receives
```python
import Antiland
session_token = ""
dialogue = ""
prefix = "!"
bot = Antiland.Bot(prefix, dialogue, session_token)
@bot.event
async def on_message(message):
# Implement your event handling logic here
print(f"Received message from {message.sender_name}: {message.text}")
bot.start(session_token)
```
Below is a very basic example for logging in and registering a hello command
which when ran will send hello world into the chat and register a debug command
which will send a message to the channel of your choice
```python
from Antiland.ext import commands
session_token = ""
dialogue = ""
prefix = "!"
bot = commands.Bot(prefix, dialogue, session_token)
@bot.command
async def say_hello():
room = await bot.get_dialogue(dialogue, session_token)
await room.send_message("hello world", session_token, dialogue)
@bot.command
async def debug():
room =await bot.get_dialogue("enter dialogue id here", session_token)
await room.send_message("BOT IS WORKING", session_token, dialogue)
bot.start(session_token)
````
# DISCLAIMER / TOS
## THIS SOFTWARE WAS DESIGNED FOR EDUCATIONAL AND FUN PURPOSES I DO NOT ENCOURAGE OR CONDONE THE USE OF THIS SOFTWARE FOR ANY MALICIOUS ACTIONS INCLUDING BUT NOT LIMITED TO: SCAMMING, SPAMMING, HARASSING OR ILLEGALLY ACCESSING ANY FORM OF DATA
Raw data
{
"_id": null,
"home_page": null,
"name": "Antiland",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": "TheUnsocialEngineer <TheUnsocialEngineer@protonmail.com>",
"download_url": "https://files.pythonhosted.org/packages/7d/f6/ea5988dcf8c8450d2835216d728b6622e522d0e765cf4130930579cdf22a/antiland-0.99.2.tar.gz",
"platform": null,
"description": "# Antiland.py\n## Make Antiland Chaotic Again\n\n\nAntiland.py is a python package to turn any antiland user into a fully functioning\nbot account similar to discord.py\n\n \n\n\n\n\n\nFor more examples and documentation read the [Docs](https://antiland.readthedocs.io/en/latest/)\n\n\n## Features\n\n- Log in to an account\n- send messages/images/videos \n- change profile settings\n- Automate tedious tasks e.g banning/blocking\n- It's python so go nuts\n\n\n\n## Installation\n\nAntiland requires Python3 to run.\n\nto install run pip3 install Antiland\n\n## Usage/Examples\n\nBefore you start you need to get the session token which will allow you to log into the account and the dialogue id of the chat you want to listen for commands in\n\nTo get the token and 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 \n\n\n\n\nBelow is an example of a bot that prints every message it receives\n\n```python\nimport Antiland\nsession_token = \"\"\ndialogue = \"\"\nprefix = \"!\"\n\nbot = Antiland.Bot(prefix, dialogue, session_token)\n\n@bot.event\nasync def on_message(message):\n # Implement your event handling logic here\n print(f\"Received message from {message.sender_name}: {message.text}\")\n\nbot.start(session_token)\n```\n\n\nBelow is a very basic example for logging in and registering a hello command\nwhich when ran will send hello world into the chat and register a debug command\nwhich will send a message to the channel of your choice\n\n```python\nfrom Antiland.ext import commands\n\nsession_token = \"\"\ndialogue = \"\"\nprefix = \"!\"\n\nbot = commands.Bot(prefix, dialogue, session_token)\n\n@bot.command\nasync def say_hello():\n room = await bot.get_dialogue(dialogue, session_token)\n await room.send_message(\"hello world\", session_token, dialogue)\n\n@bot.command\nasync def debug():\n room =await bot.get_dialogue(\"enter dialogue id here\", session_token)\n await room.send_message(\"BOT IS WORKING\", session_token, dialogue)\n\n\nbot.start(session_token)\n````\n\n# DISCLAIMER / TOS\n\n## THIS SOFTWARE WAS DESIGNED FOR EDUCATIONAL AND FUN PURPOSES I DO NOT ENCOURAGE OR CONDONE THE USE OF THIS SOFTWARE FOR ANY MALICIOUS ACTIONS INCLUDING BUT NOT LIMITED TO: SCAMMING, SPAMMING, HARASSING OR ILLEGALLY ACCESSING ANY FORM OF DATA",
"bugtrack_url": null,
"license": null,
"summary": "A package to create bots on Antiland.com",
"version": "0.99.2",
"project_urls": {
"Bug Tracker": "https://github.com/TheUnsocialEngineer/Anti.py/issues",
"Homepage": "https://github.com/TheUnsocialEngineer/Anti.py"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "86025594d1304c104722e6a7f9fb2e40be7343d60c9fe4f3bcd297030cb0ccc1",
"md5": "ce84a218681bbbacfdab9fc025a42d21",
"sha256": "46305a864be478f8ccf37041ac77b6666212727744753827dad8a0fe55e0fda4"
},
"downloads": -1,
"filename": "antiland-0.99.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ce84a218681bbbacfdab9fc025a42d21",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 29275,
"upload_time": "2024-08-30T20:11:17",
"upload_time_iso_8601": "2024-08-30T20:11:17.795442Z",
"url": "https://files.pythonhosted.org/packages/86/02/5594d1304c104722e6a7f9fb2e40be7343d60c9fe4f3bcd297030cb0ccc1/antiland-0.99.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7df6ea5988dcf8c8450d2835216d728b6622e522d0e765cf4130930579cdf22a",
"md5": "54b38c3c07443b5803477eccb970bcf7",
"sha256": "d1c2e0dc5a3d573efddacf254364d80a5b09b942b82a863974bba81dd67618be"
},
"downloads": -1,
"filename": "antiland-0.99.2.tar.gz",
"has_sig": false,
"md5_digest": "54b38c3c07443b5803477eccb970bcf7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 162518,
"upload_time": "2024-08-30T20:11:20",
"upload_time_iso_8601": "2024-08-30T20:11:20.674353Z",
"url": "https://files.pythonhosted.org/packages/7d/f6/ea5988dcf8c8450d2835216d728b6622e522d0e765cf4130930579cdf22a/antiland-0.99.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-30 20:11:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "TheUnsocialEngineer",
"github_project": "Anti.py",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "antiland"
}