Nadir Chowdhury
e971e2f16c
Allow more methods to set an audit log reason
2020-06-30 23:35:42 -04:00
Znunu
de556b01d1
Allow Webhook to be hashable and comparable
2020-06-30 23:33:54 -04:00
Skezza
c3bca7ec73
Documentation formatting
2020-06-30 23:32:00 -04:00
Skezza
e7500f738c
Fix typo with voice_client documentation
2020-06-30 07:17:33 -04:00
NCPlayz
ce03c62c6b
[bugs] stop resolving Object for template/invite; remove dupe methods
2020-06-29 16:58:19 +01:00
Nadir Chowdhury
b68cbb7a42
Add support for bulk editing role positions
2020-06-28 14:52:32 -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
Sebastian Law
7a07644de3
[commands] Raise TypeError when Optional is used with Greedy converter
2020-06-28 03:54:34 -04:00
Josh
6b5be39cd2
[tasks] Fix issue with default error handler in class context
2020-06-28 03:53:29 -04:00
jack1142
84098ed824
[commands] Add a new exception class for command registration errors
2020-06-28 03:48:07 -04:00
Sebastian Law
b4b953bfc6
Fix various inconsistencies within the documentation ( #5067 )
2020-06-28 03:45:58 -04:00
Rapptz
f94b00cb48
Fix a KeyError for channels with no category in Guild.by_category
2020-06-27 05:27:47 -04:00
Rapptz
c01bf7cd56
Fix Guild.by_category not showing empty categories.
2020-06-27 04:06:49 -04:00
Rapptz
de7c96333c
Update Message.system_content join strings to be up to date.
...
Fixes #4211
2020-06-27 03:45:27 -04:00
Tsumiki
5cbbbca193
Add versionadded to VoiceClient latency and average_latency
2020-06-26 22:57:32 -04:00
Tarek
4bdebcd339
Fix error raised when using the roles parameter.
2020-06-26 22:54:02 -04:00
Anurag
08af907807
Change PartialInviteGuild.icon_url_as to mimic Guild.icon_url_as
2020-06-26 22:52:36 -04:00
Jeffrey
4078d64520
Fix reconnecting loop due to failed handshake on region change
2020-06-22 04:00:40 -04:00
NCPlayz
a2148d6d1a
Escape masked URLs; Support quotes for as_needed
2020-06-17 16:31:48 +01:00
Anurag
421d8bf8ca
Fix TypeError on missing shard_id kwarg
2020-06-07 03:41:21 -04:00
apple502j
1ee23a235e
Support discord.com/invite URL in resolve_invite
2020-06-04 23:41:40 -04:00
JohnyTheCarrot
010ce0519a
Fix incorrect class reference in documentation
2020-06-04 23:38:57 -04:00
Nadir Chowdhury
1efb8a8204
[docs] Fix PublicUserFlags not showing up
2020-06-04 23:38:31 -04:00
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
2020-06-04 23:38:11 -04:00
Eugene
b3d2e24968
Fix possibility of PartialEmoji.id being a string
2020-05-29 23:24:46 -04:00
Tarek
a972c95f12
Add user_ids fields for query_members
2020-05-29 23:24:07 -04:00
numbermaniac
0140e1ed6a
Fix documentation string for guild.premium_subscription_count
2020-05-29 23:24:06 -04:00
NCPlayz
bd1420b5f0
Allow editing of channel types for news and text channels
2020-05-29 23:21:59 -04:00
Anurag Singh
12e31bb933
Fix KeyError on Member Channels not in JSON
2020-05-29 23:21:36 -04:00
io mintz
b15571455f
implement AllowedMentions.__repr__
2020-05-29 23:19:36 -04:00
JohnyTheCarrot
ab5f995d78
Add support for public user flags
2020-05-29 22:40:14 -04:00
Rapptz
cbdf660ddc
Document that sleep_until considers naive datetimes as UTC.
2020-05-29 02:59:31 -04:00
Rapptz
1ee1b7feea
Consistent usage of RST inline code within Guild.features references
2020-05-23 22:05:59 -04:00
NCPlayz
ed80ba6a5e
Implement some missing attributes of Guild
(and Guild.edit
)
2020-05-23 22:04:02 -04:00
NCPlayz
40a4604604
use _channel_factory
instead of manual checking in Guild._sync
2020-05-23 21:56:40 -04:00
NCPlayz
f09162f259
isinstance(x, y) and isinstance(x, z) -> isinstance(x, (y, z))
2020-05-23 21:56:40 -04:00
매리
ddfed5a610
Change _handshaking variable when handshake terminate
2020-05-23 21:56:40 -04:00
Zomatree
a22d38d004
Add spoiler keyword argument to Attachment.to_file
2020-05-23 21:56:40 -04:00
apple502j
cb43e19bea
Fix TypeError in chunker
2020-05-23 21:56:27 -04:00
jack1142
a601cf43ab
Allow clearing the author information in embeds.
2020-05-23 21:47:25 -04:00
Rapptz
66c6be50d8
Prepare for the discord.com domain rename
2020-05-23 21:44:30 -04:00
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.
2020-05-23 21:43:26 -04:00
iomintz
755ab28311
state: use bytes.hex() instead of binascii.hexlify().decode()
2020-05-10 20:07:22 -05:00
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.
2020-05-10 19:35:45 -04:00
Anurag Singh
5769511779
allow passing color int to role.edit
2020-05-10 19:35:45 -04:00
Saphielle Akiyama
1e9937a234
Aliases passed as a list or as a tuple
...
Nothing too important, felt like some people would appreciate it;
2020-05-10 17:02:56 -04:00
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.
2020-05-10 17:00:24 -04:00
Steve C
4b3a7fbe16
[tasks] Allow Loop.cancel in Loop.before_loop
...
Task cancel raises on the next awaited coro, so I've added this 0-sleep "hack"
I'm internally debating if leaving the comment there, but I'm sure it would confuse the uninformed of this trick.
2020-05-10 17:00:23 -04:00
Xua
4e6942194f
[commands] Document that cog_command_error must be async
2020-05-10 16:48:59 -04:00