✔ Perform the major refactoring

This commit is contained in:
thec0sm0s
2020-10-01 01:03:39 +05:30
parent 021d23413c
commit 21b8906f5f
8 changed files with 12 additions and 131 deletions

View File

@@ -20,8 +20,8 @@ sys.path.append('../quart_discord/')
# -- Project information -----------------------------------------------------
project = 'Quart-Discord'
copyright = '2020, Philip Dowie'
author = 'Philip Dowie'
copyright = '2020, □ | The Cosmos'
author = '□ | The Cosmos'
with open('../quart_discord/__init__.py') as f:
ver = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE).group(1)

View File

@@ -13,6 +13,7 @@ Discord's OAuth2 API easier.
**Features**
- Asynchronous wrapper.
- Clean object-oriented design.
- Covers most of the scopes provided by the API.
- Supports various discord models and objects.

View File

@@ -17,8 +17,8 @@ Requirements
- **Quart**
This is a Quart extension.
- **requests_oauthlib**
It also requires requests_oauthlib to make OAuth2 sessions with discord.
- **Async-OAuthlib**
It also requires async_oauthlib to make OAuth2 sessions with discord.
- **cachetools**
Quart Discord supports caching discord objects to boost the performance when page loads.
@@ -32,12 +32,12 @@ Installing
You can install Quart-Discord directly from PyPI using PIP and following command
in shell or command prompt: ::
python3 -m pip install -U Quart-Discord
python3 -m pip install -U https://github.com/thec0sm0s/Flask-Discord.git@quart
You can also install the latest development version (**maybe unstable/broken**) by
using following command: ::
python3 -m pip install -U git+https://github.com/jnawk/Quart-Discord.git@dev
python3 -m pip install -U https://github.com/thec0sm0s/Flask-Discord.git@quart
Basic Usage