68 Commits

Author SHA1 Message Date
Mysty
418a7915e6
Add raw presence update evemt 2025-01-21 04:49:50 -05:00
Thanos
0c353548e2
Move most static metadata to pyproject.toml 2024-05-05 23:39:37 -04:00
PythonCoderAS
841e9157bd
Add Python 3.12 to list of supported versions 2024-01-26 20:02:53 -05:00
Rapptz
62a70c21b6 Pin remaining documentation dependencies
For some reason the Sphinx developers made breaking changes in minor
versions
2024-01-26 10:23:44 -05:00
Rapptz
0fadddf7d0 Downgrade sphinxcontrib-websupport version 2024-01-26 09:24:29 -05:00
Rapptz
9859a3959b Pin documentation dependencies 2024-01-26 09:21:29 -05:00
mc_fdc
220607f67e
Add Python 3.11 to the PyPI classifiers 2023-10-01 02:55:17 -04:00
James Hilton-Balfe
4ed08dd4a7
Add inline-tabs extension 2023-09-16 20:29:13 -04:00
Rapptz
0ab68440ee Add tzdata as a test dependency on Windows
Fix #9519
2023-08-04 17:59:17 -04:00
TheMaster3558
5600bf1d8b
Reformat code with black and use single quotes 2023-01-06 19:54:00 -05:00
Rapptz
03dbd7a01d Fix cchardet being installed on Python >=3.10
This project is unmaintained now
2022-08-18 09:39:25 -04:00
Rapptz
1c7747fe9d Fix nested Annotated calls not resolving 2022-08-17 10:41:57 -04:00
Rapptz
b9b6dc960f Add aiohttp[speedups] dependencies to discord.py[speed] 2022-05-04 07:09:45 -04:00
Rapptz
4edfcd165d Version bump aiohttp and PyNaCl
Fixes #7614
2022-03-10 06:03:59 -05:00
Rapptz
0d2db90028 Implement slash commands 2022-03-01 05:35:29 -05:00
Devon R
28c7cdca99
Baseline tests, basically just parts of utils right now 2022-03-01 01:02:36 -05:00
Devon R
b3dae26a3d
Add typing-extensions to docs requires 2022-02-27 05:06:34 -05:00
Josh
4dbe1af32f
Update sphinx and fix documentation issues 2022-02-19 22:35:32 -05:00
Rapptz
8b96822ca1 Add pyproject.toml 2022-02-17 06:58:05 -05:00
Riley Shaw
55f79ed096
Add typing metadata 2021-08-22 02:25:13 -04:00
Rapptz
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
Josh
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
Rapptz
98570793e4 Add initial support for buttons and components 2021-05-27 00:53:13 -04:00
Josh
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
Rapptz
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
Rapptz
8e299e80f8 Update Sphinx to 3.5.3 2021-04-10 15:33:15 -04:00
Rapptz
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
Rapptz
9fc2ab9c99 Bump minimum Python version to 3.8 2021-04-04 04:30:31 -04:00
Rapptz
fd14cf7b81 Bump Sphinx to 3.0.3 2020-12-18 21:18:50 -05:00
Rapptz
5fbb340339 Bump Sphinx to 2.4.4 2020-12-18 21:18:50 -05:00
Rapptz
7f3737fcc2 Bump dependencies for 3.9 to work without build tools
Fix #5984, #5970
2020-11-21 22:59:56 -05:00
DevilXD
aea9c2aebf Fixed missing awaits in subclassed coros 2020-04-04 01:27:26 -04:00
Peter Levart
5064f51a4c Capitalize Python for consistency 2020-03-01 18:12:21 +01:00
Myst(MysterialPy)
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
Eugene
be5bd27386 Remove unused import
find_packages function is not used anymore
2019-06-29 19:15:06 -04:00
Rapptz
db67c79dbc Downgrade to Sphinx 1.8.5
For some reason 2.1.2 breaks localization.
2019-06-28 09:00:17 -04:00
Rapptz
7543328fe7 Update Sphinx to 2.1.2 2019-06-28 01:43:04 -04:00
Rapptz
4770f5a958 Export tasks extension 2019-04-12 03:22:50 -04:00
Rapptz
d37839f38a Update classifier in setup.py 2019-04-08 18:54:40 -04:00
Rapptz
bb79f2ae81 Bump PyNaCl to 1.3.0 2019-04-08 17:51:16 -04:00
Rapptz
97de4542f7 Add project URLs to setup.py 2019-03-02 16:51:09 -05:00
Hornwitser
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
ItWasAllIntended
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
Toby Harradine
dace5aeaee Move conditional RTD dependencies to 'docs' extra 2018-08-22 21:57:27 -04:00
orlnub123
e825762807 Add python_requires 2018-08-22 21:06:09 -04:00
Rapptz
0ba958bae4 Bump Sphinx to 1.7.4 2018-06-21 03:45:38 -04:00
Rapptz
f25091efe1 Drop support for Python 3.4 and make minimum version 3.5.2. 2018-06-10 18:10:00 -04:00
Rapptz
e9f887aab2 Add websupport extension to extension list. 2017-12-29 06:29:59 -05:00
Rapptz
300c0f7b19 Pip version requires require all 3 digits. 2017-12-28 21:39:44 -05:00
Rapptz
5c65acd9b3 Add some dependencies for RTD. 2017-12-28 21:34:41 -05:00