Skip to main content

A package to create bots on Antiland.com

Project description

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 PyPI - Version PyPI - Downloads

For more examples and documentation read the Docs

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

App Screenshot

Below is an example of a bot that prints every message it receives

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

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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

antiland-0.99.2.tar.gz (162.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

antiland-0.99.2-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

Details for the file antiland-0.99.2.tar.gz.

File metadata

  • Download URL: antiland-0.99.2.tar.gz
  • Upload date:
  • Size: 162.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.0

File hashes

Hashes for antiland-0.99.2.tar.gz
Algorithm Hash digest
SHA256 d1c2e0dc5a3d573efddacf254364d80a5b09b942b82a863974bba81dd67618be
MD5 54b38c3c07443b5803477eccb970bcf7
BLAKE2b-256 7df6ea5988dcf8c8450d2835216d728b6622e522d0e765cf4130930579cdf22a

See more details on using hashes here.

File details

Details for the file antiland-0.99.2-py3-none-any.whl.

File metadata

  • Download URL: antiland-0.99.2-py3-none-any.whl
  • Upload date:
  • Size: 29.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.0

File hashes

Hashes for antiland-0.99.2-py3-none-any.whl
Algorithm Hash digest
SHA256 46305a864be478f8ccf37041ac77b6666212727744753827dad8a0fe55e0fda4
MD5 ce84a218681bbbacfdab9fc025a42d21
BLAKE2b-256 86025594d1304c104722e6a7f9fb2e40be7343d60c9fe4f3bcd297030cb0ccc1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page