Commit Graph

2606 Commits

Author SHA1 Message Date
Rapptz
431ee8794b Fix error with templates not having access to member cache flags.
This also changes the attribute from having an underscore

Fix #5986
2020-11-21 22:42:59 -05:00
Rapptz
bdcc645cbf Bump version for development purposes 2020-11-21 22:19:23 -05:00
Rapptz
6caa983b5e Clarify Colour.random RNG 2020-11-21 22:18:39 -05:00
Caio Alexandre
896a5bef1d Add Colour.random factory method 2020-11-21 22:16:41 -05:00
webtax-gh
25f23ec113 Properly document that categories throw 404's on create_invite. 2020-11-21 22:16:41 -05:00
Harmon
351a1a1865 Raise DiscordServerError for 503 Service Unavailable errors 2020-11-21 22:16:40 -05:00
Jonathan Feenstra
c54d6f03c5 [commands] Update MessageConverter link regex
Remove redundant parts of the MessageConverter regexes and support www
2020-11-21 21:30:54 -05:00
Lukas
873ed87caa Raise ClientException when members intent is not enabled on guild.fetch_members 2020-11-21 21:30:45 -05:00
SebbyLaw
2e2560126f Implement icon_rl_as and cover_image_url_as for AppInfo 2020-11-21 21:11:47 -05:00
iDutchy
725f08e45d add Color.random 2020-11-19 18:46:42 -06:00
iDutchy
b61b5b7414 type fix 2020-11-18 18:09:18 -06:00
iDutchy
690dcdaf2e update docs and add message replies 2020-11-18 17:49:58 -06:00
iDutchy
195bace135 admin alias 2020-11-18 16:41:38 -06:00
iDutchy
ae0f11ce53 add a color 2020-11-04 19:51:07 -06:00
iDutchy
188b69c097 docs update 2020-10-28 21:04:30 -05:00
iDutchy
dea09cb5b3 conflict fix 2020-10-28 21:00:48 -05:00
iDutchy
c223d2e723 better prefix 2020-10-28 20:49:49 -05:00
iDutchy
12de975b69 better prefix 2020-10-28 19:49:13 -05:00
iDutchy
14d8310192 properly checking TextChannel.can_send 2020-10-21 20:06:47 -05:00
iDutchy
c6b417bc7b version bump 2020-10-21 17:54:07 -05:00
iDutchy
3521ae985a added versionadded 2020-10-21 17:44:46 -05:00
Rapptz
763d46cd7a Version bump to v1.5.1 2020-10-19 19:44:10 -04:00
Rapptz
707cb47438 Fix error when querying members from the gateway.
I accidentally made this return True instead of the actual member list
2020-10-19 19:37:16 -04:00
Rapptz
1a6295dffb Allow concurrent calls to guild.chunk()
This allows people who write guild.chunk() calls in highly concurrent
places such as on_message or checks to not spam the gateway with an
actual request and instead waits for the pre-existing request to finish
2020-10-19 02:47:03 -04:00
Florian Spieß
ae65d75f96 Load member from guild_member_update dispatch 2020-10-17 23:19:02 -04:00
Rapptz
3daaadafdd [commands] Lazily fetch members in discord.Member converters
This makes commands taking members mostly work transparently without
much effort from the user.
2020-10-17 23:05:22 -04:00
Rapptz
61e25cb090 Ensure our own member is never evicted from the cache in any policy. 2020-10-17 23:02:03 -04:00
Rapptz
2509ca6a82 Add internal method to check if the websocket is currently ratelimited 2020-10-17 22:51:29 -04:00
Rapptz
b07d474bd6 Fix attribute errors when timing out during chunking start-up 2020-10-17 22:02:44 -04:00
Rapptz
21ed9f61d2 Fix disconnect when trying to move to another voice channel.
Not overly proud of this implementation but this allows the library
to differentiate between a 4014 that means "move to another channel" or
"move nowhere". Sometimes the VOICE_STATE_UPDATE comes before the
actual websocket disconnect so special care had to be taken in that
case.

Fix #5904
2020-10-17 22:01:57 -04:00
iDutchy
2b5490d4cb fixes 2020-10-17 20:22:16 -05:00
iDutchy
2d7b6e239b preparing 2020-10-17 20:03:53 -05:00
iDutchy
09168d880f int() support 2020-10-17 19:14:51 -05:00
iDutchy
24839be99d test 2020-10-17 19:07:04 -05:00
iDutchy
4010f09052 Remove int() support 2020-10-17 18:45:59 -05:00
iDutchy
d75cd66b90 oh ffs 2020-10-17 18:42:19 -05:00
Rapptz
b91ddc6f4e Mark intent alias flags as actual aliases to skip them in __iter__
Fix #5945
2020-10-17 18:50:56 -04:00
Rapptz
1c03a4aac9 Evict keys when they're set to None in PermissionOverwrite
Fixes #5929
2020-10-17 01:59:00 -04:00
Rapptz
b9e1bdf87e Properly insert at the end if position is not found when moving.
Fixes #5923
2020-10-17 01:52:35 -04:00
Rapptz
d9acc2f491 Escape multi-line quotes properly
Fix #5897
2020-10-17 01:36:31 -04:00
Josh
62040de6a7 Fix Colour.dark_theme docstring. 2020-10-16 22:51:50 -04:00
PythonCoderAS
a40e20fa38 Use Hashable mixin for Message 2020-10-16 22:46:08 -04:00
iDutchy
a09e096d42 add menus 2020-10-08 16:06:18 -05:00
ChristopherJHart
f308f34db1 Add note pointing to discord.AllowedMentions 2020-10-04 22:52:00 -04:00
iDutchy
9e0303cc53 Extra security for not overriding bot.embed_color 2020-10-04 02:03:55 +00:00
iDutchy
e3bce1ba58 add doc 2020-10-04 01:58:06 +00:00
iDutchy
ecd898e62c oop 2020-10-04 01:53:57 +00:00
iDutchy
f96a537b8f oop 2020-10-04 01:11:49 +00:00
iDutchy
36bcbb19ee oop 2020-10-04 01:01:17 +00:00
iDutchy
9fc2fd38dc Another request from shivaco 2020-10-04 00:39:03 +00:00