Bryan Forbes
b9795979ac
Bump Pyright to 1.1.265, fix type errors, and remove unnecessary ignores
3 years ago
Rapptz
06b85b0ec0
Fix two styling nits with fmt: off
3 years ago
will
68ebb1c9a4
Fix typo and commas consistency in Activity doc
3 years ago
Lilly Rose Berner
04b63ce07e
Support dynamic rich presence asset URLs
3 years ago
Lilly Rose Berner
aa62fa6ba4
Fix activity button type
3 years ago
dolfies
ba6e15ed61
Implement protobuf settings ( #476 )
* Initial implementation
* Internal and documentation changes
* Proto editing and update events
* Edit overloads and bugfixes
* Fix missing defaults in two overloads
* More fixers
* Black pass
* docs! (almost)
* Fix incorrect settings accessing
* Support setting settings versions
* Fix docs
* Update timezone_offset documentation
2 years ago
dolfies
2f0314f8f2
Properly expose and document sessions
2 years ago
dolfies
edf083bd1e
Implement relationship presence and gateway session management
2 years ago
dolfies
9fe7cfb474
Docs are fun :(
3 years ago
dolfies
e08cdd073a
Documentation and operations fixes
3 years ago
dolfies
957a484306
Run black
3 years ago
Stocker
5aa696ccfa
Fix typing issues and improve typing completeness across the library
Co-authored-by: Danny <[email protected] >
Co-authored-by: Josh <[email protected] >
3 years ago
Sebastian Law
483ffeacd4
Inject state into PartialEmoji in Activity
3 years ago
Rapptz
88b520b5ab
Reformat code using black
Segments where readability was hampered were fixed by appropriate
format skipping directives. New code should hopefully be black
compatible. The moment they remove the -S option is probably the moment
I stop using black though.
3 years ago
dolfies
6420dfdc0f
fix client presences/sessions; add timeout capability; remove GuildIterator; add proper team/application support
3 years ago
dolfies
1a1b9cf15a
Implement connections, add fetch_sticker_pack, fix some small issues
3 years ago
dolfies
7b11d8c256
Get it starting
4 years ago
dolfies
d6a4f7150b
Save custom activity state
4 years ago
dolfies
3429980d0c
Migrate
4 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.
Naive datetimes will now be interpreted as local time throughout
the library.
4 years ago
Rapptz
9d39b135f4
Modernize code to use f-strings
This also removes the encoding on the top, since Python 3 does it by
default. It also changes some methods to use `yield from`.
4 years ago
Rapptz
88c23125ff
Allow CustomActivity emoji to be constructed as documented.
Fix #4049
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
* Add missing versionadded strings for v1.3
* Add missing versionchanged string for Message.edit
* Consistently use versionadded for attributes
* Consistently use versionchanged for parameters
* Use versionchanged for Bot.is_owner
* Fix references in v1.3 changelog
* Improve grammar in v1.3 changelog
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
Closes #2510
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
It's been long enough.
Fixes #2400
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
6 years ago
Rapptz
7045639adc
Fix KeyError for things without a created_at
5 years ago
NCPlayz
0c97907832
Add `Activity.created_at`
6 years ago
Devon R
bf9b9c5879
Adjust BASE urls to have no trailing slash (consistency)
6 years ago
Devon R
f5ebf42e1f
Return invites as https, various URL normalization
6 years ago