/autocord

Discord API wrapper centered around automation

Primary LanguagePython

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