mirror of
https://github.com/yawaflua/Flask-Discord.git
synced 2026-02-04 10:14:15 +02:00
✔ Perform the major refactoring
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user