Metadata-Version: 2.1
Name: pynext
Version: 1.1.0
Summary: Library that will allow you to manage selfbots.
Home-page: https://github.com/xxenvy/pynext
Author: xXenvy
Author-email: <xpimpek01@gmail.com>
License: MIT
Project-URL: Documentation, https://pynext.readthedocs.io/en/latest/
Project-URL: Issue tracker, https://github.com//xxenvy/pynext/issues
Keywords: python,requests,discord selfbot,selfbot,discord.py,aiohttp,nextcord,pycord
Classifier: Development Status :: 1 - Planning
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Framework :: AsyncIO
Classifier: Framework :: aiohttp
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Typing :: Typed
Requires-Python: >=3.9.0
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: colorlog (>=6.7.0)
Requires-Dist: aiohttp (>=3.8.0)
Provides-Extra: speed
Requires-Dist: orjson ; extra == 'speed'
Requires-Dist: aiohttp[speedups] ; extra == 'speed'


<div align="center">



  <img alt="" src="assets/discordlogo.png" width="200px"/>



  ## 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](https://img.shields.io/github/license/xXenvy/Pynext?style=for-the-badge&color=%2315b328)

![PyPI - Downloads](https://img.shields.io/pypi/dm/pynext?style=for-the-badge&color=%2315b328)

![GitHub commit activity](https://img.shields.io/github/commit-activity/t/xXenvy/Pynext?style=for-the-badge&color=%2315b328)

![GitHub last commit (branch)](https://img.shields.io/github/last-commit/xXenvy/Pynext/master?style=for-the-badge&color=%2315b328)

</div>



# 💢 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

```shell

pip install -U pynext

```

# 💫 Example

**See more examples on:** [Github](https://github.com/xXenvy/pynext/tree/master/examples) or [Docs](https://pynext.readthedocs.io/en/latest/examples/).

```py

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

- [Documentation](https://pynext.readthedocs.io/en/latest/)

- [Report a bug or feature](https://github.com/xXenvy/pynext/issues/new/choose)



# 📃 Todo

- [x] Support for multiple accounts.

- [ ] Discord connection support on the voice channel.

- [ ] Slash commands and other interaction stuff handling.

