120 Commits

Author SHA1 Message Date
Nadir Chowdhury
6b803acde4
[chore] Remove redundant imports
This also removes the historical patch for NullHandler implemented in bbf1c54, as it has been available since Python 3.1.
2020-11-28 03:16:49 -05:00
Rapptz
34f2fb36b1 Added MessageReference.resolved attribute to get replied to message 2020-11-27 02:24:39 -05:00
Nadir Chowdhury
fa30386073
Fix discord.RoleTags resolution 2020-11-26 23:00:09 -05:00
Zomatree
344cb96c5d
Add sticker support 2020-11-23 05:09:20 -05:00
Rapptz
bdcc645cbf Bump version for development purposes 2020-11-21 22:19:23 -05:00
Rapptz
763d46cd7a Version bump to v1.5.1 2020-10-19 19:44:10 -04:00
Rapptz
6d1bcf89da Version bump to v1.5.0 2020-09-28 20:57:10 -04:00
Rapptz
0b93fa3a82 Implement VoiceProtocol lower level hooks.
This allows changing the connect flow and taking control of it without
relying on internal events or tricks.
2020-09-23 03:20:35 -04:00
Sebastian Law
37c5c583f2
Add support for message_reference on Message object 2020-09-23 02:29:03 -04:00
Rapptz
38ebef8c16 Version bump for development purposes 2020-08-22 17:19:47 -04:00
Rapptz
00d39704da Version bump to 1.4.1 2020-08-09 01:12:45 -04:00
Bryan Forbes
d7aa18beed
Extend __path__ with pkgutil to allow editable extensions 2020-08-07 01:11:20 -04:00
Rapptz
9048914756 Version bump to 1.4 2020-08-05 22:05:21 -04:00
Rapptz
7ed26db3b3 Add an exposed way to extract shard-specific information.
Closes #2654
2020-07-25 09:59:41 -04:00
Nadir Chowdhury
a64006ee9b
Add support for integrations 2020-06-28 14:50:43 -04:00
Nadir Chowdhury
2b3c6e0d47
Add support for Discord templates 2020-06-28 14:48:04 -04:00
Nadir Chowdhury
1efb8a8204
[docs] Fix PublicUserFlags not showing up 2020-06-04 23:38:31 -04:00
Rapptz
9a52786aa9 Bump version for development 2020-04-06 05:00:33 -04:00
Rapptz
041785937e Add support for configuring allowed mentions per message or bot wide. 2020-04-04 07:40:51 -04:00
Rapptz
baffe564e5 Version bump to v1.3.3 2020-04-04 01:50:13 -04:00
Rapptz
5e63357508 Bump version to v1.3.2 2020-02-22 19:35:42 -05:00
Rapptz
8767c478ed Version bump to v1.3.1 2020-01-26 17:40:34 -05:00
Rapptz
a2a02ea945 Version bump to v1.3 2020-01-24 19:32:25 -05:00
Rapptz
6071607176 Bump copyright year to 2020
Closes #2510
2020-01-19 20:03:00 -05:00
NCPlayz
9c6a121644 Implement discord.MessageFlags
Refactor flags placement and use it for suppression.
2019-12-20 20:56:40 -05:00
Rapptz
15f0b000e1 Move PartialEmoji over to a new namespace to avoid circular imports 2019-11-20 00:50:19 -05:00
Rapptz
46f6003c66 Version bump for development purposes. 2019-07-27 22:42:04 -04:00
Rapptz
ccb26018ab Export Team related stuff from __init__ 2019-06-30 02:34:42 -04:00
Rapptz
0cf38241d0 Version bump to 1.2.3 2019-06-25 21:50:28 -04:00
Rapptz
e00635fba7 Version bump to 1.2.2 2019-06-09 21:51:43 -04:00
Rapptz
7980213745 Version bump to 1.2.1 2019-06-09 02:18:43 -04:00
Rapptz
a8f0a03247 Version bump to 1.2.0 2019-06-09 00:39:38 -04:00
Rapptz
320dbc0618 Add support for system channel flags 2019-06-06 22:30:02 -04:00
Rapptz
8c353a5596 Change version to v1.2.0a for development purposes. 2019-05-11 18:20:13 -04:00
Rapptz
26a6970882 Version bump to v1.1.1 2019-05-11 15:42:13 -04:00
Rapptz
a54f656e04 Version bump to v1.1.0 2019-05-10 20:20:29 -04:00
Rapptz
14a593b026 Bump version to 1.1.0a 2019-04-14 17:58:56 -04:00
Rapptz
37e6b53216 Version bump to v1.0.1 2019-04-10 00:59:43 -04:00
Rapptz
4a4db1a02c Version bump to v1.0.0 2019-04-08 18:38:51 -04:00
NCPlayz
be227ebcf0 Redesign asset retrieval in the library.
Most assets now return a new class named `Asset`. This allows for the
assets to be consistently saved via a `save` method instead of special
casing for `Attachment`.

`AppInfo` is no longer a namedtuple it is a fully documented dataclass,
as well as having the state attached to it.

Fixes #1997
2019-04-06 19:12:50 -04:00
NCPlayz
8a30a4cac0 Add support for guild widget 2019-03-19 09:22:48 -04:00
Rapptz
5d78f43e55 Expose more information from partial invites, along with counts.
This adds the following information.

* `PartialInviteGuild` to replace `Object` patching
* `PartialInviteChannel` to replace `Object` patching
* Invite.approximate_member_count and Invite.approximate_presence_count

The new partial objects provide better documentation on what is
expected when you fetch random invites.

Fixes #1830
2019-02-12 20:22:47 -05:00
Dante Dam
9656a21ebe Bumped copyright years to 2019. 2019-01-28 22:22:50 -05:00
Hornwitser
efb4ff850e [lint] Fix import order
Reorder imports to be consistenly grouped by standard library, third
party library, and local modules in that order thoughout the library.
2018-11-24 22:17:58 -05:00
Rapptz
c67d95327e Remove dead package references. 2018-06-10 18:16:40 -04:00
Steve C
0e945915b7 Fixes various documentation errors/inconsistencies
Mostly dealing with permissions, also fixes Raw Events inclusion.
2018-05-18 20:25:54 -04:00
Rapptz
f8f8f418f3 Split Game object to separate Activity subtypes for Rich Presences.
This is a massive breaking change.

* All references to "game" have been renamed to "activity"
* Activity objects contain a majority of the rich presence information
* Game and Streaming are subtypes for memory optimisation purposes for
  the more common cases.
* Introduce a more specialised read-only type, Spotify, for the
  official Spotify integration to make it easier to use.
2018-03-05 11:15:49 -05:00
Gorialis
04d9dd9c0d Change PartialReactionEmoji to PartialEmoji, add a PartialEmojiConverter 2018-01-06 17:32:25 -05:00
Rapptz
37b0fdb898 Add webhook support.
Allows for usage of either `requests` and `aiohttp` when used in
"Standalone" mode.

Fixes #704
2017-08-21 01:57:07 -04:00
Rapptz
d239cc2666 Implement "partial" message events.
These are events that get triggered regardless of the state of the
message cache. Useful for getting data from before the bot was booted.
2017-06-09 18:36:59 -04:00