Rapptz
e51f92e78d
Fix NameError for typing context manager.
Fixes #1342
7 years ago
Rapptz
c67d95327e
Remove dead package references.
7 years ago
Rapptz
f25091efe1
Drop support for Python 3.4 and make minimum version 3.5.2.
7 years ago
Rapptz
7eb918b19e
Add Message.jump_to_url
7 years ago
Rapptz
6b75179c1f
Remove emojis from cache if they're removed from a guild.
7 years ago
Steve C
0e945915b7
Fixes various documentation errors/inconsistencies
Mostly dealing with permissions, also fixes Raw Events inclusion.
7 years ago
Rapptz
0dafdedc65
abc.GuildChannel.set_permissions can raise NotFound.
Fix #1254
7 years ago
Rapptz
07a535f514
Document user parameter in Guild.get_ban
7 years ago
slice
9fe7776a33
Add support for getting individual ban entries
7 years ago
Rapptz
60f0b22cbb
Filter null mentions when creating a Message.
7 years ago
Rapptz
56650ae7c2
Change raw events to use slotted data models instead of parameters.
This allows for internal changes in Discord to not cause a breaking
change every time something changes.
Also implements #1214 which adds guild_id to every event where
applicable.
This is a breaking change.
7 years ago
Rapptz
e04629999b
Downgrade websockets due to bugs.
https://github.com/aaugustin/websockets/issues/350 keeps causing too
many issues for too many people for this version to be used by the
public users of this library.
7 years ago
Rapptz
3cb6ac152e
Userbots do not have a DM cache cap limit.
7 years ago
Rapptz
95de4d1df1
Actually fix the order in Guild.by_category.
7 years ago
Rapptz
87a7efc410
Flip comparison in Guild.by_category.
7 years ago
Will Tekulve
ab78613c13
Force RTD to pip install rather than use setup.py install
7 years ago
Mitchell Ferree
2e4e392b25
Correct docstring for Game
7 years ago
Daniel
27063a91c7
Improve basic_voice example
Add stream option and command so we don't always have to download a file
Move repeated voice check code to before_invoke hook
Add typing indicators when making YTDLSources
7 years ago
Rapptz
796ff6d7e6
Sort voice channels below text channels in Guild.by_category
7 years ago
Rapptz
f176309179
[commands] Don't handle single quotes.
7 years ago
Rapptz
eb5defed00
Fix Webhook.guild raising an AttributeError.
Fixes #1148
7 years ago
Myst(MysterialPy)
8ba78168a6
Add Spotify intergration colour
Added property `colour` and alias `color` which returns the Spotify
integration colour (#1db954).
Technically Discord uses both (#1cb050 and #1db954) but it appears the
former is an official Spotify colour.
7 years ago
Myst(MysterialPy)
31cc4c39de
Fix _image_url returning htps
Should be https :)
Just made this a separate PR from my previous one, in-case you decide to not include it.
7 years ago
Rapptz
e9916e2844
Convert Client.activity back to an Activity-like object
7 years ago
Rapptz
61c8e35929
Missing import for _ActivityTag inside Client
7 years ago
Harmon
21bea43d22
Fix session_id in Spotify.to_dict
7 years ago
Rapptz
857e30c68e
Add some documentation for the Game to Activity breaking change.
7 years ago
Rapptz
d8a85f4898
[commands] Minor optimisations to unicode quote handling.
7 years ago
b-hodges
ea061ef9b2
[commands] Added handling for unicode quotes
7 years ago
Rapptz
871a262ee3
[commands] Add ability to have case insensitive commands.
This is powered by a dict-like class for the people who want to opt-in
to the performance downgrade for usability for majority English
speaking users.
Since it is slower than the regular dict due to the excessive calls to
str.lower along with the possibilities of gotchas for other languages
outside of English, this is kept as False for the default case.
7 years ago
Rapptz
1590441dbf
Fix typo in TextChannel.delete_messages documentation.
7 years ago
Rapptz
a425bd91be
Fix invalid close errors on websockets 4.x
Fixes #1110
7 years ago
Rapptz
0fcd385b9a
Add ability to change the activity used when logging in at runtime.
7 years ago
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.
7 years ago
Jared Shields
2f562bd695
Update docstrings for channel.py
`delete_messages` requires `manage_messages`; the docs in here, nor on RTD reflect this.
Small amendment at line 180, adding three additional.
7 years ago
Rapptz
6782fdd34d
Add missing coroutine decorator to HTTPClient.get_attachment
Fixes #1104
7 years ago
Rapptz
1c215cfbbe
Don't cache webhook users.
Fixes #1101
7 years ago
Rapptz
355eb08b25
Add seek_begin keyword argument to Attachment.save
7 years ago
BeatButton
9d3d8e0f0a
Fix websockets 4.0 support
7 years ago
Eli
ad7506050c
[commands] Allow builtin unbound method converters
7 years ago
Daniel
d53c3a6c12
Fixed opus error check
Fixes #1056
7 years ago
Daniel
881e598a6f
Add errcheck functions to opus foreign functions
7 years ago
Daniel
5a59eae95b
Update opus and add COPYING notice
7 years ago
Rapptz
4fef6fc4b0
Fix minor typo in migrating documentation.
7 years ago
FrostLuma
c32b28f46d
Add documentation for new_member system messages
7 years ago
Rapptz
8de382fcd3
Change logic in PartialEmoji.__str__ a little.
7 years ago
Gorialis
04d9dd9c0d
Change PartialReactionEmoji to PartialEmoji, add a PartialEmojiConverter
7 years ago
Tobotimus
3112e1c17e
Add intersphinx
7 years ago
khazhyk
0ef866a704
[commands] Fix MissingRequiredArgument param handling
Documentation was incorrect, and we were throwing
away the param we were passing.
7 years ago
Chkoupinator
b268d81649
Added a missing "to" in Message.raw_mentions documentation.
7 years ago