59 Commits (master)

Author SHA1 Message Date
Rapptz 8953938a53 Update Pyright to v1.1.394 2 months ago
Kohki Miki d9f81150e1
Add platform property to Activity and Game 1 year ago
mc_fdc 2e4eedf5cb
Fix type hint for CustomActivity emoji parameter 2 years ago
Rapptz 1d2177c610 Fix setting CustomActivity name 2 years ago
James Hilton-Balfe 40986f9279
Fix overlapping or incorrect slots found by slotscheck 3 years ago
Bryan Forbes d707019348
Bump Pyright to 1.1.265, fix type errors, and remove unnecessary ignores 3 years ago
Rapptz 0502c6a0d2 Fix two styling nits with fmt: off 3 years ago
will e5f3706c02
Fix typo and commas consistency in Activity doc 3 years ago
Lilly Rose Berner efe24c3927
Support dynamic rich presence asset URLs 3 years ago
Lilly Rose Berner 69595b5826
Fix activity button type 3 years ago
Stocker 5aa696ccfa
Fix typing issues and improve typing completeness across the library 3 years ago
Sebastian Law 483ffeacd4
Inject state into PartialEmoji in Activity 3 years ago
Rapptz 88b520b5ab Reformat code using black 3 years ago
Stocker cdf46127ae
Added type: ignores where needed to activity.py 4 years ago
Rapptz 8fb998b599 Refactor utcfromtimestamp to use fromtimestamp(..., tz=utc) 4 years ago
Rapptz 750ba88f2c Fix typing errors with Client 4 years ago
Rapptz 1aeec34f84 Typehint Member and various typing fixes 4 years ago
Rapptz cd6b453cb3 Typehint Activity 4 years ago
Rapptz 4566b64d77 Fix Activity and Spotify datetime being timezone naive 4 years ago
quiprr 8b7e5a50b4
Add discord.Spotify.track_url 4 years ago
Nadir Chowdhury 829c2d4a1a
Add Activity.buttons 4 years ago
Rapptz 99fc950510 Use f-strings in more places that were missed. 4 years ago
Nadir Chowdhury a43ea5c550
Fix regression in Activity relying on `try_enum` 4 years ago
Rapptz ff7094ce96 Convert datetimes to aware datetimes with UTC. 4 years ago
Rapptz 9d39b135f4 Modernize code to use f-strings 4 years ago
Rapptz 88c23125ff Allow CustomActivity emoji to be constructed as documented. 4 years ago
Nihaal Sangha 69bdc3a184
Change copyright year to present 4 years ago
Nadir Chowdhury df3e5a15a6
[bug] call super constructor for `CustomActivity` to fix `created_at` 4 years ago
Skezza c3bca7ec73
Documentation formatting 5 years ago
Sebastian Law b4b953bfc6
Fix various inconsistencies within the documentation (#5067) 5 years ago
kittenswolf 6decfd1d1a Fix colour properties being displayed as methods in the documentation. 5 years ago
Snaptraks ba112e6ec8 Remove extra backtick in CustomActivity docs 5 years ago
Harmon 6f9793fe5e Fixes and improvements for v1.3 documentation 5 years ago
Rapptz 02397306b2 Drop superfluous zero in version related changes in the documentation 5 years ago
Rapptz 6071607176 Bump copyright year to 2020 5 years ago
Rapptz 23f16618fd Make CustomActivity.__str__ not raise errors and match the client 5 years ago
Rapptz 42a084028c Expose _ActivityTag as BaseActivity to easily refer to. 5 years ago
Rapptz a841efa087 Add support for custom activities 5 years ago
Rapptz fe1ebb3144 Default the Streaming name to the one passed for user created ones. 5 years ago
NCPlayz 17901becf0 Add support for YouTube Streaming 5 years ago
Rapptz 7045639adc Fix KeyError for things without a created_at 5 years ago
NCPlayz 0c97907832 Add `Activity.created_at` 5 years ago
Devon R bf9b9c5879 Adjust BASE urls to have no trailing slash (consistency) 5 years ago
Devon R f5ebf42e1f Return invites as https, various URL normalization 5 years ago
Rapptz 1e982e0042 Cast activity enumerator to integer instead of accessing value directly 6 years ago
Rapptz 2cd6d771ec Make __repr__ slightly more detailed and add a few missing ones. 6 years ago
Dante Dam 01588fa34b Tightended the constraints of Spotify.__eq__. 6 years ago
Rapptz 919dbcafb3 Consistent use of __all__ to prevent merge conflicts. 6 years ago
Rapptz 0ddc6867e9 Change all IntEnum to Enum 6 years ago
BluePhoenixGame 9765b701f2 Change Activity.application_id from `str` to `int`. 6 years ago