7513c2138f
Fix code style issues with Black
2021-09-05 21:34:20 +00:00
55f79ed096
Add typing metadata
2021-08-22 02:25:13 -04:00
88d825a803
Allow use of orjson instead of json
...
The difference in speed seems negligible at start up, which is when
most time is taken for actually parsing JSON. I could potentially be
missing something but profiling didn't point to any discernable
difference.
2021-07-07 20:19:17 -04:00
233d10649c
[docs] Update Sphinx and Fix various references
...
Co-Authored-By: Riley Shaw <30989490+ShineyDev@users.noreply.github.com >
2021-06-27 23:43:49 -04:00
98570793e4
Add initial support for buttons and components
2021-05-27 00:53:13 -04:00
3864fb37a0
Fix various reference issues in documentation
...
Co-Authored-By: Riley Shaw <30989490+ShineyDev@users.noreply.github.com >
2021-05-06 07:51:07 -04:00
a6f7213c89
Rewrite webhooks to play better with typings and rate limits
...
This unfortunately required splitting the types into two. This led to
a lot of unfortunate code duplication that I didn't really enjoy
writing.
The new design allows users to pass an authentication token to make
webhook requests without the webhook token and allows to finally
edit the webhook channel.
The new design also uses a contextvar to store rate limiting
information so multiple instances or recreating instances no longer
clears the ratelimiting state since it's now essentially a "global"
object.
Closes #6525 , closes #6662 , closes #2509 , closes #1761
2021-04-15 08:04:32 -04:00
8e299e80f8
Update Sphinx to 3.5.3
2021-04-10 15:33:15 -04:00
23fe6b46dd
Typehint discord.Embed and introduce discord.types subpackage
...
The discord.types subpackage is currently only used to do type hinting
of API payloads, it's very much incomplete right now and it'll be a
rather long process.
discord.Embed was typehinted and formatted using black.
2021-04-07 05:39:58 -04:00
9fc2ab9c99
Bump minimum Python version to 3.8
2021-04-04 04:30:31 -04:00
fd14cf7b81
Bump Sphinx to 3.0.3
2020-12-18 21:18:50 -05:00
5fbb340339
Bump Sphinx to 2.4.4
2020-12-18 21:18:50 -05:00
7f3737fcc2
Bump dependencies for 3.9 to work without build tools
...
Fix #5984 , #5970
2020-11-21 22:59:56 -05:00
aea9c2aebf
Fixed missing awaits in subclassed coros
2020-04-04 01:27:26 -04:00
5064f51a4c
Capitalize Python for consistency
2020-03-01 18:12:21 +01:00
c2a05688d7
Add Python 3.8 classifier to setup.py
...
Added `Programming Language :: Python :: 3.8` classifier to setup.py
since Discord.py fully supports it without error or warning.
2020-01-25 21:34:15 -05:00
be5bd27386
Remove unused import
...
find_packages function is not used anymore
2019-06-29 19:15:06 -04:00
db67c79dbc
Downgrade to Sphinx 1.8.5
...
For some reason 2.1.2 breaks localization.
2019-06-28 09:00:17 -04:00
7543328fe7
Update Sphinx to 2.1.2
2019-06-28 01:43:04 -04:00
4770f5a958
Export tasks extension
2019-04-12 03:22:50 -04:00
d37839f38a
Update classifier in setup.py
2019-04-08 18:54:40 -04:00
bb79f2ae81
Bump PyNaCl to 1.3.0
2019-04-08 17:51:16 -04:00
97de4542f7
Add project URLs to setup.py
2019-03-02 16:51:09 -05:00
1f4940d171
Fix README.rst for PyPi
...
Add long_description_content_type in setup.py, fix incorrectly
matched up title underlines in README.rst, and fix incorrect entry in
MANIFEST.in that was forgotten when the README was renamed in 06296bf
.
2019-01-28 22:22:53 -05:00
134bc21fda
Update PyNaCl dependency to one that works with 3.7
...
This also adds the 3.7 classifier as with this there are no 3.7 issues
2018-09-14 22:55:28 -04:00
dace5aeaee
Move conditional RTD dependencies to 'docs' extra
2018-08-22 21:57:27 -04:00
e825762807
Add python_requires
2018-08-22 21:06:09 -04:00
0ba958bae4
Bump Sphinx to 1.7.4
2018-06-21 03:45:38 -04:00
f25091efe1
Drop support for Python 3.4 and make minimum version 3.5.2.
2018-06-10 18:10:00 -04:00
e9f887aab2
Add websupport extension to extension list.
2017-12-29 06:29:59 -05:00
300c0f7b19
Pip version requires require all 3 digits.
2017-12-28 21:39:44 -05:00
5c65acd9b3
Add some dependencies for RTD.
2017-12-28 21:34:41 -05:00
54ea52c86f
Prefix sha to fix leading zeros being stripped
...
/dist.py:352: UserWarning: Normalizing '1.0.0a1402+0965847' to '1.0.0a1402+965847'
2017-11-21 17:54:55 -05:00
98a054e19e
Use local version identifer for SHA
...
local version identifier seems to be the only PEP440
way to add arbitrary string to the version. Makes
pip stop complaining about invalid version label.
2017-10-14 20:41:45 -07:00
c3a727ac7e
Show sha1 for development versions.
2017-10-14 15:23:32 -04:00
de6cffa347
Try to build HTML5 for docs.
2017-09-21 18:04:46 -04:00
06296bfaf6
Changed README from using Markdown to use reStructuredText
2017-09-18 20:01:57 -04:00
da6ced72c9
Bump requirements to aiohttp 2.2 and PyNaCl 1.1.2
2017-07-01 16:56:39 -04:00
b44bba6ee6
First pass at documentation reform.
2017-05-12 20:14:34 -04:00
c4c17351c6
Add commit number to pip version for easy identification.
2017-03-04 20:43:05 -05:00
bb8f5f4725
Make discord.ext a namespace package.
2017-02-14 21:35:52 -05:00
4c1b8d1de1
Add PyNaCl to setuptool's extras requirements.
2016-06-28 00:59:12 -04:00
c6b31c9663
Attempt to satisfy RTD by using sphinxcontrib.napoleon.
2016-01-10 00:39:48 -05:00
cc8ddc7eae
Use setuputils.find_package to find extension modules.
2016-01-04 23:26:01 -05:00
0489fcb481
Update README and setuputils related files to point to async version.
2015-12-04 06:43:04 -05:00
7ff2cd008f
Properly set requirements of ws4py and requests.
2015-10-18 23:34:27 -04:00
35084cf98a
Add support for channel creation events.
2015-08-23 23:37:56 -04:00
9b99834221
Fix setuputils script
2015-08-23 04:39:58 -04:00
44953e7a3f
Rename project from pydiscord to discord.py
2015-08-22 07:43:41 -04:00
3e0f09d32c
Initial commit
2015-08-21 18:18:34 -04:00