aboutsummaryrefslogtreecommitdiff
path: root/discord/widget.py
Commit message (Collapse)AuthorAgeFilesLines
* Type up **kwargs of various methods Nadir Chowdhury2021-05-101-9/+8
|
* Typehint WidgetJosh2021-05-091-40/+64
|
* Add missing reprs to some objectsSteve C2021-04-171-0/+6
| | | These are WidgetMember, BaseUser, and DeletedReferencedMessage
* Use f-strings in more places that were missed.Rapptz2021-04-081-2/+2
|
* Add `__all__` to remaining modulesNadir Chowdhury2021-04-071-0/+6
|
* 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`.
* Code optimisations and refactoring via SourceryNadir Chowdhury2021-02-241-1/+1
|
* Change copyright year to presentNihaal Sangha2021-01-151-1/+1
|
* Remove namedtuples to better future guard the libraryTarek2020-09-211-3/+11
|
* Fix KeyError on Member Channels not in JSONAnurag Singh2020-05-291-2/+4
|
* Prepare for the discord.com domain renameRapptz2020-05-231-1/+1
|
* Bump copyright year to 2020Rapptz2020-01-191-1/+1
| | | | Closes #2510
* Expose _ActivityTag as BaseActivity to easily refer to.Rapptz2020-01-141-1/+1
|
* Document that widget members may be incomplete.Rapptz2019-12-291-0/+8
| | | | See https://github.com/discordapp/discord-api-docs/issues/1287
* Improve documentationNCPlayz2019-06-071-2/+2
|
* Fix attribute error in Widget.__repr__Rapptz2019-04-131-1/+1
|
* Redesign asset retrieval in the library.NCPlayz2019-04-061-2/+0
| | | | | | | | | | | Most assets now return a new class named `Asset`. This allows for the assets to be consistently saved via a `save` method instead of special casing for `Attachment`. `AppInfo` is no longer a namedtuple it is a fully documented dataclass, as well as having the state attached to it. Fixes #1997
* Some widget fixes.Rapptz2019-03-191-7/+15
|
* Add support for guild widgetNCPlayz2019-03-191-0/+244