aboutsummaryrefslogtreecommitdiff
path: root/discord/object.py
Commit message (Collapse)AuthorAgeFilesLines
* Type-hint object.pyJosh2021-05-051-3/+15
|
* Add `__all__` to remaining modulesNadir Chowdhury2021-04-071-0/+4
|
* Modernize code to use f-stringsRapptz2021-04-041-4/+2
| | | | | This also removes the encoding on the top, since Python 3 does it by default. It also changes some methods to use `yield from`.
* Change copyright year to presentNihaal Sangha2021-01-151-1/+1
|
* Convert id parameter of Object into int or raise TypeError on failureRapptz2020-04-191-1/+6
| | | | | | | This prevents breakage for users who pass in a str as an ID whereas it previously worked. Fix #4002
* Bump copyright year to 2020Rapptz2020-01-191-1/+1
| | | | Closes #2510
* Fix discord.Object type hinting docsJoshua B2019-09-191-1/+1
| | | discord.Object requires ID as an int not str
* Improve documentationNCPlayz2019-06-071-1/+1
|
* Make __repr__ slightly more detailed and add a few missing ones.Rapptz2019-05-261-0/+3
| | | | | | This includes raw events (which didn't have any) and a few other types that were missing them. Upon review some more useful fields were added to the repr output which would be more useful during debugging.
* Organise documentationNCPlayz2019-03-191-1/+1
|
* Bumped copyright years to 2019.Dante Dam2019-01-281-1/+1
|
* [lint] Fix incorrect and inconsistent whitespaceHornwitser2018-08-221-0/+1
| | | | Adjust whitespace to be consistent with the rest of the library.
* Add intersphinxTobotimus2018-01-061-1/+1
|
* Make discord.Object hashable.Rapptz2017-08-091-1/+16
|
* Update copyright year to 2017.Rapptz2017-01-201-1/+1
|
* Move message creation to a factory method inside ConnectionState.Rapptz2017-01-031-2/+2
|
* Absolute import some circular dependencies to appease Python 3.4.Rapptz2017-01-031-2/+2
|
* Fix import for Object.created_atRapptz2016-09-101-1/+1
|
* Fix discord.Object documentation.Rapptz2016-05-311-2/+2
|
* Add missing created_at properties for other objects.Rapptz2016-03-251-0/+7
| | | | Such as Channel, PrivateChannel, Object and Role.
* Update license of files to 2016.Rapptz2016-01-041-1/+1
|
* Revert "Use super() in classes that could be subclassed."Rapptz2016-01-041-1/+0
| | | | This reverts commit 948f565b430d80f782d0b7c264cc0b27aa1ec0b2.
* Use super() in classes that could be subclassed.Rapptz2016-01-041-0/+1
|
* Clean-up documentation to use NumPy style docs on remaining classes.Rapptz2015-12-161-1/+1
|
* Switch to NumPy style documentation.Rapptz2015-12-041-2/+3
|
* Add discord.Object class for generic pass-by-ID.Rapptz2015-10-271-0/+46