Rapptz
52d587d286
Allow PartialMessage to work with DM channels as well
2020-12-11 02:32:51 -05:00
Rapptz
186f4968d3
Export to_message_reference_dict to make PartialMessage.reply work
2020-12-11 00:39:05 -05:00
Rapptz
ebf623d9de
Add operations you can do to a Message and PartialMessage to docs
2020-12-11 00:32:38 -05:00
Rapptz
3fe6d261f1
Add PartialMessage to allow working with channel/message_id pairs.
...
Fix #5905
2020-12-11 00:32:38 -05:00
Steve C
bde5bb5d5c
Fix WebhookMessages docstrings
...
Silly danno
2020-12-10 23:32:22 -05:00
Rapptz
44dc7a8e02
Add support for editing and deleting webhook messages.
...
Fix #6058
2020-12-09 20:15:35 -05:00
Rapptz
b00aaab0b2
Revert Message.edit logic that deals with allowed_mentions
...
It made no sense here.
2020-12-08 21:13:29 -05:00
Lilly Rose Berner
08d632880a
Fix embed suppression when using client-wide allowed_mentions
2020-12-08 20:42:26 -05:00
Ben Skerritt
0995d07727
[commands] Added in missing channel links
2020-12-07 18:35:16 -05:00
Misa
fff2234823
Fix wrong documented permission for GuildChannel.invites()
...
I tested it just now, and manage_guild is not the permission you need to
fetch invites from a given channel. You need manage_channels.
Note that this isn't the same as Guild.invites(), which DOES use
manage_guild.
2020-12-07 18:34:51 -05:00
Steve C
6e6a3bed1a
Add created_at property to PartialEmoji
...
Also fixed docstring for PartialEmoji.url
2020-12-06 03:59:20 -05:00
Rapptz
6ea7fce828
[commands] Cog unload failures are swallowed.
...
Fix #6113
2020-12-03 19:17:28 -05:00
Josh
f8e428bd5b
Add support for chunking AsyncIterator objects
2020-12-03 18:32:53 -05:00
RocketRace
a39c957ba5
Update documentation for rules/updates channels
2020-12-03 18:20:27 -05:00
Kippiii
96059e5365
Add reaction roles example
2020-12-03 18:16:39 -05:00
Bryan Forbes
80dd2c63c0
Fix Team.icon_url_as format argument default value
2020-11-28 19:58:48 -05:00
Nadir Chowdhury
df3e5a15a6
[bug] call super constructor for CustomActivity
to fix created_at
2020-11-28 03:17:05 -05:00
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
Nadir Chowdhury
0c69c99785
Fix UnboundLocalError
for editing public_updates_channel
2020-11-28 03:16:28 -05:00
SNVMK
169b61092a
Change reply example to use replies
2020-11-28 03:16:14 -05:00
Rapptz
a4cb71b64e
Fix Message.to_reference from the MessageReference changes
2020-11-27 03:31:10 -05:00
Rapptz
5ef30e34e5
Correct docstring missing ]
2020-11-27 02:36:14 -05:00
Rapptz
34f2fb36b1
Added MessageReference.resolved attribute to get replied to message
2020-11-27 02:24:39 -05:00
Rapptz
1014bfcb63
Allow MessageReference to be constructible by users
2020-11-27 01:08:52 -05:00
Rapptz
bd6ab93348
Code cleanup involving enums and message replies
2020-11-27 00:32:08 -05:00
PikalaxALT
d1cb30cccf
Implement discord.Message.reply
2020-11-26 23:19:00 -05:00
Nadir Chowdhury
fa30386073
Fix discord.RoleTags
resolution
2020-11-26 23:00:09 -05:00
Rapptz
12d0ae71df
Add a way to check if the websocket is rate limited.
...
This is mainly for low level decision making for utilities that need
to know whether to fetch a member by HTTP or to query through the
websocket.
The library already does this trick in some places so it's only fair
that end users possess the same ability as well.
2020-11-26 04:43:15 -05:00
Rapptz
e65dab3b23
Implement role tags.
...
This comes with:
* The RoleTags class
* Role.is_premium_subscriber()
* Role.is_bot_managed()
* Role.is_integration()
* Guild.self_role
* Guild.premium_subscriber_role
2020-11-26 01:57:24 -05:00
SebbyLaw
4adbe03d7c
[commands] Allow setting description of cogs
2020-11-26 01:57:24 -05:00
Rapptz
5bad633987
Fix preview_asset key name in Sticker
2020-11-23 06:23:06 -05:00
Rapptz
0456458ad1
[commands] Fetch user if an ID is passed and cache lookup fails.
2020-11-23 06:22:44 -05:00
Rapptz
c8954906cb
Sticker implementation cleanup
2020-11-23 06:05:25 -05:00
Rapptz
f174365d33
Ensure member key is not overwritten by author key in MESSAGE_UPDATE
...
This also coerces the older message to take the member data from the
newer message so the types are not incompatible.
Fix #5999
2020-11-23 06:02:27 -05:00
Rapptz
7a3a571e0a
Don't store a user cache if there's no member intent or cache is off
...
Without a cache or member intent the user cache can get out of date
with no events to update the underlying user in the member object.
Ref: #6034
2020-11-23 05:24:13 -05:00
Zomatree
344cb96c5d
Add sticker support
2020-11-23 05:09:20 -05:00
Rapptz
f9b5cead31
Suppress the creation of a command window from ffmpeg on Windows
...
Fix #6038
2020-11-21 23:12:15 -05:00
Rapptz
7f3737fcc2
Bump dependencies for 3.9 to work without build tools
...
Fix #5984 , #5970
2020-11-21 22:59:56 -05:00
Rapptz
52865dfa99
Clear the connected flag when potentially reconnecting the player
...
Fix #5953
2020-11-21 22:53:04 -05:00
Rapptz
b76b5b42c0
Fix attribute error during rapid disconnects in VoiceClient.
...
Fix #6039
2020-11-21 22:47:04 -05:00
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
Maya
78c916a486
Emphasize intents in the constructors of the examples
2020-11-21 21:31:42 -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