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.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
pynext-1.2.0.tar.gz
(59.9 kB
view hashes)
Built Distribution
pynext-1.2.0-py3-none-any.whl
(96.6 kB
view hashes)