aboutsummaryrefslogtreecommitdiff
path: root/discord/message.py
Commit message (Collapse)AuthorAgeFilesLines
* [commands] Fix (Partial)MessageConverter to work with thread messagesNadir Chowdhury2021-07-101-7/+10
|
* Fix Client.fetch_channel not returning ThreadAlex Nørgaard2021-07-031-1/+1
|
* Document TextChannel.start_thread return typeRapptz2021-07-031-0/+5
|
* Change Message.__repr__ to show inherited type nameRapptz2021-07-031-2/+2
|
* [docs] Fix more referencesJosh2021-07-011-1/+1
| | | Co-Authored-By: Riley Shaw <[email protected]>
* Typehint Member and various typing fixesRapptz2021-06-301-2/+5
|
* Add explicit types to variables in Message typesRapptz2021-06-291-39/+47
|
* Set Message.guild from guild_id if unavailable through Message.channelLilly Rose Berner2021-06-281-12/+10
|
* Rework Message.edit implementationRapptz2021-06-281-64/+46
|
* Add support for sending multiple embedsAomi Vel2021-06-271-4/+32
|
* Change how threads are createdRapptz2021-06-081-1/+1
| | | | | | | | Instead of start_public_thread and start_private_thread they'll now be one method. I might revert this if starting a public thread without a message never ends up happening.
* Allow Message.channel to be a threadRapptz2021-06-081-4/+5
|
* Implement remaining HTTP endpoints on threadsRapptz2021-06-081-2/+41
| | | | | I'm not sure if I missed any -- but this is the entire documented set so far.
* Return message content for replies in Message.system_contentLilly Rose Berner2021-06-061-3/+6
|
* Remove view syncing before editing in viewsRapptz2021-05-311-0/+2
| | | | | This prevents a potential race condition when a MESSAGE_UPDATE is received syncing and refreshing the view components causing a desync.
* Check for view finished state before resuming listening on editRapptz2021-05-311-2/+2
|
* Add support for editing in views in PartialMessageRapptz2021-05-311-1/+20
|
* Fix Message.edit typings to take View parametersRapptz2021-05-301-0/+2
|
* Add initial support for buttons and componentsRapptz2021-05-271-1/+32
|
* Update docs for (Partial)Message.publish to reflect the actual permissions ↵Alex Nørgaard2021-05-151-1/+3
| | | | needed
* Type up **kwargs of various methods Nadir Chowdhury2021-05-101-3/+21
|
* Fix typings in message.pyRapptz2021-05-051-5/+5
|
* Fix supressing messages leading a 400 errorRapptz2021-05-011-1/+1
| | | | | This only makes it so allowed_mentions are passed if the message is authored by the bot itself.
* Reformat message.py fileRapptz2021-05-011-21/+71
|
* Add types to PartialMessageRapptz2021-05-011-23/+15
|
* Add typings for message related classesZomatree2021-05-011-89/+116
|
* Add support for editing message attachmentsRapptz2021-04-211-0/+27
|
* Add `MessageType.guild_invite_reminder`Nadir Chowdhury2021-04-181-0/+3
|
* Add missing reprs to some objectsSteve C2021-04-171-0/+3
| | | These are WidgetMember, BaseUser, and DeletedReferencedMessage
* Refactor save() and read() into AssetMixinRapptz2021-04-171-1/+1
|
* Use default allowed_mentions in Message.editRapptz2021-04-161-1/+2
| | | | Fix #6745
* Revert Attachment.save code to prior implementationRapptz2021-04-161-2/+2
|
* Rewrite Asset designRapptz2021-04-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | This is a breaking change. This does the following transformations, assuming `asset` represents an asset type. Object.is_asset_animated() => Object.asset.is_animated() Object.asset => Object.asset.key Object.asset_url => Object.asset_url Object.asset_url_as => Object.asset.replace(...) Since the asset type now requires a key (or hash, if you will), Emoji had to be flattened similar to how Attachment was done since these assets are keyed solely ID. Emoji.url (Asset) => Emoji.url (str) Emoji.url_as => removed Emoji.url.read => Emoji.read Emoji.url.save => Emoji.save This transformation was also done to PartialEmoji.
* Restrict snowflake regexes to 15-20 digitsNadir Chowdhury2021-04-161-3/+3
|
* [docs] Fix various unresolved referencesNadir Chowdhury2021-04-151-3/+3
|
* Fix fail_if_not_exists not being set when constructed with stateRapptz2021-04-141-0/+1
|
* Use f-strings in more places that were missed.Rapptz2021-04-081-14/+14
|
* Use `asyncio.create_task` over `asyncio.ensure_future`Nadir Chowdhury2021-04-051-1/+1
|
* Fix versionadded not showing in docs for Attachment.content_typeLogan2021-04-051-1/+1
|
* Convert datetimes to aware datetimes with UTC.Rapptz2021-04-041-5/+2
| | | | | Naive datetimes will now be interpreted as local time throughout the library.
* Remove userbot functionalityRapptz2021-04-041-66/+2
| | | | | This has a lot of legacy and cruft so there may be some stuff I've missed but this first pass is enough to get a clear separation.
* Modernize code to use f-stringsRapptz2021-04-041-16/+14
| | | | | This also removes the encoding on the top, since Python 3 does it by default. It also changes some methods to use `yield from`.
* Add content_type to AttachmentZomatree2021-04-031-1/+6
|
* Add support for fail_if_not_exists in MessageReferenceLilly Rose Berner2021-03-301-6/+28
|
* Add remove_markdown helper functionEdwin2021-03-281-3/+3
|
* Make Attachment hashable and castable to strRapptz2021-03-251-1/+25
|
* remove trailing whitespaceNadir Chowdhury2021-03-131-2/+2
|
* Fix typo with guild_discovery_grace_period_final_warningNadir Chowdhury2021-03-021-1/+1
|
* Add remaining v6 message typesNadir Chowdhury2021-02-231-0/+15
|
* Deprecate non-bot methodsNadir Chowdhury2021-02-231-0/+6
|