Skip to main content

An extension of discord.py including undocumented endpoints.

Project description

[![PyPI](https://img.shields.io/pypi/v/disband.py.svg)](https://pypi.python.org/pypi/disband.py/) [![PyPI](https://img.shields.io/pypi/pyversions/disband.py.svg)](https://pypi.python.org/pypi/disband.py/) [![PyPI](https://img.shields.io/pypi/status/disband.py.svg)](https://pypi.python.org/pypi/disband.py/) [![PyPI](https://img.shields.io/pypi/format/disband.py.svg)](https://pypi.python.org/pypi/disband.py/)

It’s discord.py, now with friends!

This module is an extension of [discord.py](https://github.com/Rapptz/discord.py), an API wrapper for Discord written in Python.

The aim of this module is to add methods and events for the undocumented endpoints of Discord’s API, for example relationships.

### Warning

This project is not meant to be used by bots, and doesn’t guarantee support for anything implying a bot token. It should only be used with user tokens, which you can obtain through various methods.

Since this uses undocumented endpoints of the Discord API, some features might give unexpected results, or break when the API changes.

> Please remember that Discord does not officially support “self-bots” > in any way. You may not use this module to automate any kind of task > on a user account, and Discord may ban your account if you do so.

## Installation

> This will automatically install discord.py for you. If you wish to install > another version, or to install it yourself, please use the > [official documentation](https://github.com/Rapptz/discord.py#installing) > of discord.py, and then follow the steps below.

You can install disband.py via pip:

` $ pip install -U disband.py `

Alternatively, you can install it from source:

` $ git clone https://github.com/Zeroji/disband.py $ cd disband.py $ pip install -U . `

## Usage

Assuming you already use discord.py, you can simply replace

`python import discord `

with

`python import disband as discord `

> If you use discord.__version__, it will return the version of disband.py. > To prevent this, disband.py has an attribute __discord_version__ containing > the real discord.py version (for example, 0.16.8).

## Requirements - Python 3.4.2+ - discord.py library

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

disband.py-0.2.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file disband.py-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for disband.py-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 841634047ad3e20cd9239510202d2b686ec7348c0a8ac1d129b4752b52634fb8
MD5 8393f8f2f567884ecab702aac48a1c93
BLAKE2b-256 49767cb642b56845718501989b962ddc1af085ba7de3b35aabd7c28086164490

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page