<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.dispatcher.listen('on_user_ready')
async def on_ready(user: SelfBot):
print("User: {} is ready!".format(user))
@client.dispatcher.listen('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
- [ ] Voice Support.
- [ ] Message components (Buttons, Select Menus).
- [ ] Official support for context commands.
- [ ] Support for voice messages.
- [ ] Extensions (Cogs).
- [ ] Full api covarage.
Raw data
{
"_id": null,
"home_page": "https://github.com/xxenvy/pynext",
"name": "pynext",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9.0",
"maintainer_email": "",
"keywords": "python,requests,discord selfbot,selfbot,discord.py,aiohttp,nextcord,pycord",
"author": "xXenvy",
"author_email": "<xpimpek01@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/89/96/79d5008d0a106cf955ceaa3badab4d7465fdf96df9db2a0016a07579774b/pynext-1.2.0.tar.gz",
"platform": null,
"description": "\r\n<div align=\"center\">\r\n\r\n\r\n\r\n <img alt=\"\" src=\"assets/discordlogo.png\" width=\"200px\"/>\r\n\r\n\r\n\r\n ## Pynext - Discord API Wrapper for selfbots written from scratch in Python.\r\n\r\n `\u26a0\ufe0f Project only for educational purposes!`\r\n\r\n\r\n\r\n `\u26a0\ufe0f Project is still under development. It may contain bugs, and future updates will bring breaking changes.`\r\n\r\n\r\n\r\n![License](https://img.shields.io/github/license/xXenvy/Pynext?style=for-the-badge&color=%2315b328)\r\n\r\n![PyPI - Downloads](https://img.shields.io/pypi/dm/pynext?style=for-the-badge&color=%2315b328)\r\n\r\n![GitHub commit activity](https://img.shields.io/github/commit-activity/t/xXenvy/Pynext?style=for-the-badge&color=%2315b328)\r\n\r\n![GitHub last commit (branch)](https://img.shields.io/github/last-commit/xXenvy/Pynext/master?style=for-the-badge&color=%2315b328)\r\n\r\n</div>\r\n\r\n\r\n\r\n# \ud83d\udca2 Requirements\r\n\r\n- Python 3.9 or newer.\r\n\r\n\r\n\r\n# \ud83d\udd27 Pynext Features\r\n\r\n- Modern Pythonic API using `async` and `await`.\r\n\r\n- Proper rate limit handling.\r\n\r\n- Optimised in both `speed` and `memory`.\r\n\r\n- Properly typehinted.\r\n\r\n- Support for multiple accounts.\r\n\r\n\r\n\r\n# \ud83d\udee0\ufe0f Installation\r\n\r\n```shell\r\n\r\npip install -U pynext\r\n\r\n```\r\n\r\n# \ud83d\udcab Example\r\n\r\n**See more examples on:** [Github](https://github.com/xXenvy/pynext/tree/master/examples) or [Docs](https://pynext.readthedocs.io/en/latest/examples/).\r\n\r\n```py\r\n\r\nfrom pynext import PynextClient, SelfBot, GuildMessage, PrivateMessage\r\n\r\nfrom typing import Union\r\n\r\n\r\n\r\nclient = PynextClient(chunk_guilds=False)\r\n\r\n\r\n\r\n@client.dispatcher.listen('on_user_ready')\r\n\r\nasync def on_ready(user: SelfBot):\r\n\r\n print(\"User: {} is ready!\".format(user))\r\n\r\n\r\n\r\n\r\n\r\n@client.dispatcher.listen('on_message_create')\r\n\r\nasync def on_message(selfbot: SelfBot, message: Union[PrivateMessage, GuildMessage]):\r\n\r\n if message.content == \"?ping\":\r\n\r\n await message.reply(selfbot, content=f\"**Pong!** {round(selfbot.latency * 1000)}ms\")\r\n\r\n\r\n\r\nclient.run(\"TOKEN_1\", \"TOKEN_2\")\r\n\r\n\r\n\r\n```\r\n\r\n# \ud83e\uddf7 Links\r\n\r\n- [Documentation](https://pynext.readthedocs.io/en/latest/)\r\n\r\n- [Report a bug or feature](https://github.com/xXenvy/pynext/issues/new/choose)\r\n\r\n\r\n\r\n# \ud83d\udccb Todo\r\n\r\n- [ ] Voice Support.\r\n\r\n- [ ] Message components (Buttons, Select Menus).\r\n\r\n- [ ] Official support for context commands.\r\n\r\n- [ ] Support for voice messages.\r\n\r\n- [ ] Extensions (Cogs).\r\n\r\n- [ ] Full api covarage.\r\n\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Library that will allow you to manage selfbots.",
"version": "1.2.0",
"project_urls": {
"Documentation": "https://pynext.readthedocs.io/en/latest/",
"Homepage": "https://github.com/xxenvy/pynext",
"Issue tracker": "https://github.com//xxenvy/pynext/issues"
},
"split_keywords": [
"python",
"requests",
"discord selfbot",
"selfbot",
"discord.py",
"aiohttp",
"nextcord",
"pycord"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "aa5b2ac51a2fa0ddcc8a73fcbd469d9fae5f48fa2419e5f657f212094f432809",
"md5": "aac7ba2d27449640ea8bc45095700aad",
"sha256": "05081e2660c6fe87e61cc7288e831bd27ff698e33fe2f7a90ab76e7a07370150"
},
"downloads": -1,
"filename": "pynext-1.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "aac7ba2d27449640ea8bc45095700aad",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9.0",
"size": 96604,
"upload_time": "2024-01-08T22:41:13",
"upload_time_iso_8601": "2024-01-08T22:41:13.754452Z",
"url": "https://files.pythonhosted.org/packages/aa/5b/2ac51a2fa0ddcc8a73fcbd469d9fae5f48fa2419e5f657f212094f432809/pynext-1.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "899679d5008d0a106cf955ceaa3badab4d7465fdf96df9db2a0016a07579774b",
"md5": "bf20a40a047b23dda70168e829fb20b9",
"sha256": "81a7d2400b3b603c454cb34cbe845f1d6027023d273b20e5f0150d82cc5f7f1b"
},
"downloads": -1,
"filename": "pynext-1.2.0.tar.gz",
"has_sig": false,
"md5_digest": "bf20a40a047b23dda70168e829fb20b9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9.0",
"size": 59891,
"upload_time": "2024-01-08T22:41:15",
"upload_time_iso_8601": "2024-01-08T22:41:15.613665Z",
"url": "https://files.pythonhosted.org/packages/89/96/79d5008d0a106cf955ceaa3badab4d7465fdf96df9db2a0016a07579774b/pynext-1.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-08 22:41:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "xxenvy",
"github_project": "pynext",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pynext"
}