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
async
andawait
. -
Proper rate limit handling.
-
Optimised in both
speed
andmemory
. -
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
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
pynext-1.0.8.tar.gz
(52.6 kB
view details)
Built Distribution
pynext-1.0.8-py3-none-any.whl
(87.1 kB
view details)
File details
Details for the file pynext-1.0.8.tar.gz
.
File metadata
- Download URL: pynext-1.0.8.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ca2a2c1bcb8dfc721f54ddc427f6a7b979e89894df009ec37d9b9847288e86b |
|
MD5 | f18042cb6cf02b62cc404ea001240c93 |
|
BLAKE2b-256 | 63a2d215785eb3343a0d8e106e038530408f2d2c02c2c59e1e4e8f180eb4b23b |
File details
Details for the file pynext-1.0.8-py3-none-any.whl
.
File metadata
- Download URL: pynext-1.0.8-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c229fe9b52a721f5866a985bf6284ada9a2ed90df229083f26316d3a2fdf232 |
|
MD5 | b45e91b988566da236a99f80c868b681 |
|
BLAKE2b-256 | ccddebae63deb4d0db9201d6b9179aa2a390bfd8a889bda282463dd1f55754f5 |