Metadata-Version: 2.4
Name: discord-py-darkself
Version: 1.0.2
Summary: A Python wrapper for the Discord user API (Custom DarkSelf Fork)
Author-email: Darknife <stepansergienko42@gmail.com>
License: The MIT License (MIT)
        
        Copyright (c) 2015-present Rapptz
        
        Permission is hereby granted, free of charge, to any person obtaining a
        copy of this software and associated documentation files (the "Software"),
        to deal in the Software without restriction, including without limitation
        the rights to use, copy, modify, merge, publish, distribute, sublicense,
        and/or sell copies of the Software, and to permit persons to whom the
        Software is furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in
        all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
        OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
        FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
        DEALINGS IN THE SOFTWARE.
        
Project-URL: Issue tracker, https://github.com/Darknife339/discord.py-darkself/issues
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: aiohttp<4,>=3.7.4
Requires-Dist: curl_cffi<1,>=0.14.0
Requires-Dist: tzlocal<6,>=4.0.0
Requires-Dist: discord_protos<2.0.0
Requires-Dist: audioop-lts; python_version >= "3.13"
Provides-Extra: voice
Requires-Dist: PyNaCl<1.6,>=1.5.0; extra == "voice"
Requires-Dist: davey==0.1.0; extra == "voice"
Provides-Extra: docs
Requires-Dist: sphinx==4.4.0; extra == "docs"
Requires-Dist: sphinxcontrib_trio==1.1.2; extra == "docs"
Requires-Dist: sphinxcontrib-websupport==1.2.4; extra == "docs"
Requires-Dist: sphinxcontrib-applehelp==1.0.4; extra == "docs"
Requires-Dist: sphinxcontrib-devhelp==1.0.2; extra == "docs"
Requires-Dist: sphinxcontrib-htmlhelp==2.0.1; extra == "docs"
Requires-Dist: sphinxcontrib-jsmath==1.0.1; extra == "docs"
Requires-Dist: sphinxcontrib-qthelp==1.0.3; extra == "docs"
Requires-Dist: sphinxcontrib-serializinghtml==1.1.5; extra == "docs"
Requires-Dist: typing-extensions<5,>=4.3; extra == "docs"
Requires-Dist: sphinx-inline-tabs==2023.4.21; extra == "docs"
Requires-Dist: imghdr-lts==1.0.0; python_version >= "3.13" and extra == "docs"
Provides-Extra: speed
Requires-Dist: orjson>=3.5.4; extra == "speed"
Requires-Dist: aiodns>=1.1; sys_platform != "win32" and extra == "speed"
Requires-Dist: Brotli; extra == "speed"
Requires-Dist: cchardet==2.1.7; python_version < "3.10" and extra == "speed"
Requires-Dist: mmh3>=2.5; extra == "speed"
Requires-Dist: zstandard>=0.23.0; python_version <= "3.13" and extra == "speed"
Provides-Extra: test
Requires-Dist: coverage[toml]; extra == "test"
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-asyncio; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Requires-Dist: pytest-mock; extra == "test"
Requires-Dist: typing-extensions<5,>=4.3; extra == "test"
Requires-Dist: tzdata; sys_platform == "win32" and extra == "test"
Provides-Extra: dev
Requires-Dist: ruff==0.12; extra == "dev"
Requires-Dist: typing_extensions<5,>=4.3; extra == "dev"
Dynamic: license-file

discord-py-darkself
===================

A modern, easy-to-use, feature-rich, and async-ready API wrapper for Discord's user API written in Python.

About the Project
-----------------

**discord-py-darkself** is a customized fork of the `discord.py-self` library. 

The primary feature of this fork is the complete isolation of its namespace. In this version, the standard ``discord`` package namespace and all its internal/external imports have been renamed to ``discord_self``.

This allows you to install and use this library concurrently alongside the official, upstream ``discord.py`` library (used for regular bot accounts) within the same Python environment without experiencing any naming conflicts or dependency collisions.

How to Use
----------

Instead of using the standard ``discord`` import, use ``discord_self`` and ``discord_self.ext`` for commands and tasks:

.. code:: py

    import discord_self
    from discord_self.ext import commands

    bot = commands.Bot(command_prefix='!', self_bot=True)

    @bot.event
    async def on_ready():
        print(f'Logged on as {bot.user} (ID: {bot.user.id})')

    @bot.command()
    async def ping(ctx):
        await ctx.send('pong')

    bot.run('YOUR_ACCOUNT_TOKEN_HERE')

Installation
------------

**Python 3.10 or higher is required.**

You can install the library directly from your GitHub repository using ``pip``:

.. code:: sh

    pip install git+https://github.com/Darknife339/discord.py-darkself.git

If you have cloned the repository locally and wish to install it in editable mode for development:

.. code:: sh

    cd discord.py-darkself
    pip install -e .

Disclaimer
----------

Automating user accounts (self-botting) is against the Discord Terms of Service (ToS). This library is a proof of concept and is intended strictly for educational and research purposes. The author of this fork assumes no responsibility for any account terminations or penalties incurred while using this software. Use it entirely at your own risk.
