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

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 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

import Antiland

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

bot = Antiland.Bot(prefix,dialogue,session_token)

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

@bot.command("debug")
def debug():
    room=bot.get_dialogue("enter dialogue id here",session_token)
    room.send_message("BOT IS WORKING",session_token,dialogue)

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

Project details


Release history Release notifications | RSS feed

This version

0.9

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.9.tar.gz (148.6 kB view hashes)

Uploaded Source

Built Distribution

antiland-0.9-py3-none-any.whl (18.9 kB view hashes)

Uploaded Python 3

Supported by

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