James
61216112d0
Add a licence and encoding declaration to missing files
5 years ago
Nadir Chowdhury
e971e2f16c
Allow more methods to set an audit log reason
5 years ago
Znunu
de556b01d1
Allow Webhook to be hashable and comparable
5 years ago
Skezza
c3bca7ec73
Documentation formatting
5 years ago
Skezza
e7500f738c
Fix typo with voice_client documentation
5 years ago
NCPlayz
ce03c62c6b
[bugs] stop resolving Object for template/invite; remove dupe methods
5 years ago
Nadir Chowdhury
b68cbb7a42
Add support for bulk editing role positions
5 years ago
Nadir Chowdhury
a64006ee9b
Add support for integrations
5 years ago
Nadir Chowdhury
2b3c6e0d47
Add support for Discord templates
5 years ago
Sebastian Law
7a07644de3
[commands] Raise TypeError when Optional is used with Greedy converter
5 years ago
Josh
6b5be39cd2
[tasks] Fix issue with default error handler in class context
5 years ago
jack1142
84098ed824
[commands] Add a new exception class for command registration errors
5 years ago
Sebastian Law
b4b953bfc6
Fix various inconsistencies within the documentation ( #5067 )
5 years ago
Rapptz
f94b00cb48
Fix a KeyError for channels with no category in Guild.by_category
5 years ago
Rapptz
c01bf7cd56
Fix Guild.by_category not showing empty categories.
5 years ago
Rapptz
de7c96333c
Update Message.system_content join strings to be up to date.
Fixes #4211
5 years ago
Tsumiki
5cbbbca193
Add versionadded to VoiceClient latency and average_latency
5 years ago
Tarek
4bdebcd339
Fix error raised when using the roles parameter.
5 years ago
Anurag
08af907807
Change PartialInviteGuild.icon_url_as to mimic Guild.icon_url_as
5 years ago
Jeffrey
4078d64520
Fix reconnecting loop due to failed handshake on region change
5 years ago
NCPlayz
a2148d6d1a
Escape masked URLs; Support quotes for as_needed
5 years ago
Anurag
421d8bf8ca
Fix TypeError on missing shard_id kwarg
5 years ago
apple502j
1ee23a235e
Support discord.com/invite URL in resolve_invite
5 years ago
Tarek
f2fa613057
Fix minor markdown typo in migrating.rst
5 years ago
JohnyTheCarrot
010ce0519a
Fix incorrect class reference in documentation
5 years ago
Nadir Chowdhury
1efb8a8204
[docs] Fix PublicUserFlags not showing up
5 years ago
Michael H
7bef78284f
Removes the caching behavior of Member.roles
- fixes 4087
- This intentionally uses some internals in both Member.roles and
Member.top_role to retain as much performance as possible while
removing the cache
5 years ago
Eugene
b3d2e24968
Fix possibility of PartialEmoji.id being a string
5 years ago
Tarek
a972c95f12
Add user_ids fields for query_members
5 years ago
numbermaniac
0140e1ed6a
Fix documentation string for guild.premium_subscription_count
5 years ago
NCPlayz
bd1420b5f0
Allow editing of channel types for news and text channels
5 years ago
Anurag Singh
12e31bb933
Fix KeyError on Member Channels not in JSON
5 years ago
io mintz
b15571455f
implement AllowedMentions.__repr__
5 years ago
JohnyTheCarrot
ab5f995d78
Add support for public user flags
5 years ago
Rapptz
cbdf660ddc
Document that sleep_until considers naive datetimes as UTC.
5 years ago
Rapptz
1ee1b7feea
Consistent usage of RST inline code within Guild.features references
5 years ago
NCPlayz
ed80ba6a5e
Implement some missing attributes of `Guild` (and `Guild.edit`)
5 years ago
NCPlayz
40a4604604
use `_channel_factory` instead of manual checking in `Guild._sync`
5 years ago
NCPlayz
f09162f259
isinstance(x, y) and isinstance(x, z) -> isinstance(x, (y, z))
5 years ago
매리
ddfed5a610
Change _handshaking variable when handshake terminate
5 years ago
Zomatree
a22d38d004
Add spoiler keyword argument to Attachment.to_file
5 years ago
apple502j
cb43e19bea
Fix TypeError in chunker
5 years ago
jack1142
a601cf43ab
Allow clearing the author information in embeds.
5 years ago
Rapptz
66c6be50d8
Prepare for the discord.com domain rename
5 years ago
Terrance
017591dc9e
player: Close ffmpeg stdin during streaming
A `stdin` of `None` means the ffmpeg subprocess input inherits from the
parent process, which may cause undesired control from a terminal (e.g.
`C` causes ffmpeg to prompt for a command). It also closes the parent's
stdin when the subprocess exits.
This commit switches to `subprocess.DEVNULL`, which provides a separate
pre-closed stdin for ffmpeg subprocesses.
5 years ago
iomintz
755ab28311
state: use bytes.hex() instead of binascii.hexlify().decode()
5 years ago
Rapptz
13a3f760e6
Fix timeout issues with fetching members via query_members
This uses the nonce field to properly disambiguate queries. There's
also some redesigning going on behind the scenes and minor clean-up.
Originally I planned on working on this more to account for the more
widespread chunking changes planned for gateway v7 but I realized that
this would indiscriminately slow down everyone else who isn't planning
on working with intents for now.
I will work on the larger chunking changes in the future, should time
allow for it.
5 years ago
Anurag Singh
5769511779
allow passing color int to role.edit
5 years ago
Saphielle Akiyama
1e9937a234
Aliases passed as a list or as a tuple
Nothing too important, felt like some people would appreciate it;
5 years ago
Steve C
128c9f4eb8
Use GuildChannel abc for CategoryChannel edit
I noticed nothing happened when I did
`ch.edit(overwrites=oh.overwrites)`
`http.edit_channel` doesn't do anything with the `overwrites` keyword,
it's processed as `permission_overwrites` instead which `self._edit`
takes care of.
I feel this was an oversight at some point.
5 years ago