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

Uploaded Source

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