Skip to main content

Discord API wrapper centered around automation

Project description

autocord banner 2

⚠️ Autocord is currently going through a complete re-write ⚠️

An easy to use API wrapper centered around automation

Autocord is a Python API wrapper for Discord centered around automation. Using Autocord, you can easily automate the boring stuff using Python. Features include, sending and recieving messages, changing settings, and creating tasks. Autocord helps you easily make selfbots without the hassle of using discord.py and absolutely none of that intents bs. Syntax is pretty straightforward, quite similar to discord py.

Installing ⚙️
Requires:

  • requests > 2.28.2
  • websocket > 1.5.1 pip install websocket_client
  • asyncio (aiohttp > 3.8.3)

pip install autocord

Features ✨

  • Option to return data as JSON or Object
  • Easy selfbot setup
  • Easily customizable
  • Uses the discord user API

Quick Example ⚡

import autocord

client = autocord.Client('TOKEN')

@client.event
async def on_ready():
    print(f"Logged in as: {client.user}")
    
@client.event
async def on_message(message):
    if message.content == 'ping':
        await message.reply('pong')
        await client.send(message.channel.id, f'Replied to {message.author.username}')
    
client.run()

Notes 📜

  • No embed send support (autocord not meant to be used on actual bot accounts)
  • No attachment send support (working on it...)
  • client.create_dm() returns a DmChannel object. However, occasionally, you can't send messages without solving a captcha
  • Embed fields don't show

Project details


Download files

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

Source Distribution

autocord-1.5.1.tar.gz (7.5 kB view details)

Uploaded Source

File details

Details for the file autocord-1.5.1.tar.gz.

File metadata

  • Download URL: autocord-1.5.1.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for autocord-1.5.1.tar.gz
Algorithm Hash digest
SHA256 3ad58abe9a54ec671324b860e0a2be1319a7c26a26743fad765726e1bfd6e28b
MD5 a8cf4c01b452f3ed32594d1b4c5f0abc
BLAKE2b-256 5c2301d4d9f51fdcfe516edd38b36108f4802ba280244524d1f18220b10f843f

See more details on using hashes here.

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