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.
💢 Requirements
- Python 3.9 or newer.
🔧 Pynext Features
-
Modern Pythonic API using
asyncandawait. -
Proper rate limit handling.
-
Optimised in both
speedandmemory. -
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.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
📋 Todo
-
Voice Support.
-
Message components (Buttons, Select Menus).
-
Official support for context commands.
-
Support for voice messages.
-
Extensions (Cogs).
-
Full api covarage.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pynext-1.2.0.tar.gz.
File metadata
- Download URL: pynext-1.2.0.tar.gz
- Upload date:
- Size: 59.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81a7d2400b3b603c454cb34cbe845f1d6027023d273b20e5f0150d82cc5f7f1b
|
|
| MD5 |
bf20a40a047b23dda70168e829fb20b9
|
|
| BLAKE2b-256 |
899679d5008d0a106cf955ceaa3badab4d7465fdf96df9db2a0016a07579774b
|
File details
Details for the file pynext-1.2.0-py3-none-any.whl.
File metadata
- Download URL: pynext-1.2.0-py3-none-any.whl
- Upload date:
- Size: 96.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05081e2660c6fe87e61cc7288e831bd27ff698e33fe2f7a90ab76e7a07370150
|
|
| MD5 |
aac7ba2d27449640ea8bc45095700aad
|
|
| BLAKE2b-256 |
aa5b2ac51a2fa0ddcc8a73fcbd469d9fae5f48fa2419e5f657f212094f432809
|