Skip to main content

Library that will allow you to manage selfbots.

Project description

Pynext - Discord API Wrapper for selfbots written from scratch in Python.

⚠️ Project only for educational purposes!

⚠️ Project is still under development. It may contain bugs, and future updates will bring breaking changes.

License

PyPI - Downloads

GitHub commit activity

GitHub last commit (branch)

💢 Requirements

Python 3.9 or newer

🔧 Pynext Features

  • Modern Pythonic API using async and await.

  • Proper rate limit handling.

  • Optimised in both speed and memory.

  • Properly typehinted.

  • Support for multiple accounts.

🛠️ Installation

pip install -U pynext

💫 Example

See more examples on: Github or Docs.

from pynext import PynextClient, SelfBot, GuildMessage, PrivateMessage

from typing import Union



client = PynextClient(chunk_guilds=False)



@client.gateway.event('on_user_ready')

async def on_ready(user: SelfBot):

    print("User: {} is ready!".format(user))





@client.gateway.event('on_message_create')

async def on_message(selfbot: SelfBot, message: Union[PrivateMessage, GuildMessage]):

    if message.content == "?ping":

        await message.reply(selfbot, content=f"**Pong!** {round(selfbot.latency * 1000)}ms")



client.run("TOKEN_1", "TOKEN_2")

🧷 Links

📃 Todo

  • Support for multiple accounts.

  • Discord connection support on the voice channel.

  • Slash commands and other interaction stuff handling.

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

pynext-1.1.0.tar.gz (53.8 kB view details)

Uploaded Source

Built Distribution

pynext-1.1.0-py3-none-any.whl (89.5 kB view details)

Uploaded Python 3

File details

Details for the file pynext-1.1.0.tar.gz.

File metadata

  • Download URL: pynext-1.1.0.tar.gz
  • Upload date:
  • Size: 53.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pynext-1.1.0.tar.gz
Algorithm Hash digest
SHA256 118dc14187513ac2c3b8ac28e767e5439249570b6624acf6c1342492afd6b0ee
MD5 0eb7616f4f01b2904f69f7b8c2396310
BLAKE2b-256 c2753c7b8bd94ba2a66e87c7cc340b8cdba9090d12cc6f231b38f1aaed1b1eef

See more details on using hashes here.

File details

Details for the file pynext-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: pynext-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 89.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pynext-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6936b7f63295f6bef0ca225d4fd4ae3cd87949381185976e826d175191e3b7a1
MD5 5be19e6b42b19255dbc2bfc4f066f9bd
BLAKE2b-256 1f9478d94c2202c7774514685b9f394ffd9faeab67c8758a7ca98a30949bfdd5

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