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.0.9.tar.gz (52.6 kB view details)

Uploaded Source

Built Distribution

pynext-1.0.9-py3-none-any.whl (87.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pynext-1.0.9.tar.gz
Algorithm Hash digest
SHA256 fb6f691d57648f06b7bdf135b0f24a5430a09627a69c2dda97555d97845d324b
MD5 be8f866a07b66bfd0f3e5276f7659447
BLAKE2b-256 cc997d959b0bf9e60ea8bbab863d05b2bbe0228c959a37ced15e30df7cb7d965

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pynext-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 87.1 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.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 7e5f9562e951797905f2054eb948dd4bc3e0d51132673863ebc4b2c809471084
MD5 db503790a7040bf9871dc8fca46665ea
BLAKE2b-256 5089e17928c1b5f47bd5d090595695236783d3030a20f21762ced844f9959ae8

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