Dolfies
92912ea81a
Implement friend tokens
4 months ago
Dolfies
d401d6d149
Remove dead get user named endpoint
4 months ago
Dolfies
00f6d156ca
Add unauthed fallbacks to pomelo endpoints, remove useless http parameter ( fixes #562 )
4 months ago
Dolfies
f88c1d37ce
Add new user and profile fields
4 months ago
dolfies
ac641ea98b
Normalize upstream changes for the library
5 months ago
Michael H
105c55a0b1
Ensure Client.close() has finished in __aexit__
This wraps the closing behavior in a task. Subsequent callers of
.close() now await that same close finishing rather than short
circuiting. This prevents a user-called close outside of __aexit__ from
not finishing before no longer having a running event loop.
1 year ago
Lucas Hardt
3117e4e4bb
Fix misleading Error documentation for Client.fetch_guild
2 years ago
dolfies
a7554ba7d4
Remove deprecated setting field
6 months ago
dolfies
38780526e9
Improve exception when creating a group channel with one recipient
11 months ago
dolfies
51d43a158f
Rework member chunking and events ( #662 )
1 year ago
dolfies
553cfa2bae
Fix default afk value in change_presence()
1 year ago
dolfies
0847b02ae1
Overhaul presence syncing and afk/idle tracking ( #663 )
* Overhaul presence syncing and afk/idle tracking
* Log initial presence as well
* Fix duplicate custom status checking
1 year ago
dolfies
43f46aa833
Readd friend invite creation functionality ( fix #575 )
1 year ago
dolfies
88ec285c4f
Remove unnecessary warning on fetch_user()
1 year ago
dolfies
12ee7110b1
Add the ability to fetch a user by name
1 year ago
dolfies
adcd6fd24d
Fix edge case in Client.leave_guild()
1 year ago
dolfies
2d6171effa
Document return type for Client.join_hub()
1 year ago
dolfies
bb296880c4
Fix invite typing issues
2 years ago
dolfies
44ec9f40c7
Update invite parameters and add stage interoperability
2 years ago
dolfies
bb952c7060
Rework captcha handling and type errors
2 years ago
dolfies
158cbd4cad
Generalize dict/metadata documentation types
2 years ago
dolfies
a91802e51b
Move guild creation to connection state to prevent circular imports
2 years ago
dolfies
29df9a4505
Implement student hubs and directory channels ( #561 )
2 years ago
dolfies
23b8a3d49e
Fix docs linking and new pyright version type errors
2 years ago
dolfies
26280fd24d
Implement pomelo migrating
2 years ago
Rapptz
e6e380f904
Initial support for pomelo migration
2 years ago
Ruairi
67b69e732c
Implement experiments ( #520 )
* start on experiments
Signed-off-by: Ruairi <[email protected] >
* Proper experiment types
* Small fixes
* add experiments to client
Signed-off-by: Ruairi <[email protected] >
* format using black
Signed-off-by: Ruairi <[email protected] >
* correct errors in filters
Signed-off-by: Ruairi <[email protected] >
* add suggested changes
Signed-off-by: Ruairi <[email protected] >
* oopsies
Signed-off-by: Ruairi <[email protected] >
* fix some errors hopefully
Signed-off-by: Ruairi <[email protected] >
* fix even more type errors
Signed-off-by: Ruairi <[email protected] >
* moved to utils
Signed-off-by: Ruairi <[email protected] >
* Fix overloads
* Update discord/experiment.py
Co-authored-by: dolfies <[email protected] >
* Update discord/experiment.py
Co-authored-by: dolfies <[email protected] >
* add suggested changes
Signed-off-by: Ruairi <[email protected] >
* fixinator
Signed-off-by: Ruairi <[email protected] >
* properly cast
Signed-off-by: Ruairi <[email protected] >
* Update discord/experiment.py
Co-authored-by: dolfies <[email protected] >
* Update discord/client.py
Co-authored-by: dolfies <[email protected] >
* Update discord/experiment.py
Co-authored-by: dolfies <[email protected] >
* Update discord/experiment.py
Co-authored-by: dolfies <[email protected] >
* Update discord/experiment.py
Co-authored-by: dolfies <[email protected] >
* Update discord/http.py
Co-authored-by: dolfies <[email protected] >
* Update discord/experiment.py
Co-authored-by: dolfies <[email protected] >
* Update discord/utils.py
Co-authored-by: dolfies <[email protected] >
* fix type error
Signed-off-by: Ruairi <[email protected] >
* rename murmurhash32
Signed-off-by: Ruairi <[email protected] >
* fix!: apply suggestions
Signed-off-by: Ruairi <[email protected] >
* fix quotes
Signed-off-by: Ruairi <[email protected] >
* big fixesd
* logic fixes and simplification
* add mmh3 to optional reqs
* reqs my beloved
* documentation
* Proper filters
* Export experiment classes
* Fix Metadata object parsing
* More low-level method warnings
* Fix and improve performance of ExperimentOverride
* more positional-only markers
* fix small isues
Signed-off-by: Ruairi <[email protected] >
* fix formatting
Signed-off-by: Ruairi <[email protected] >
* put mmh3 shit without type checker and shit idk
* Remove str(exp)
---------
Signed-off-by: Ruairi <[email protected] >
Co-authored-by: dolfies <[email protected] >
2 years ago
dolfies
c9416e33a6
Rename preferred_voice_regions
2 years ago
dolfies
61e340981f
Implement guest invites
2 years ago
dolfies
7167014a6e
Set X-Discord-Locale header based on user settings
2 years ago
dolfies
5832e8bfdf
Implement unverified game reporting
2 years ago
dolfies
a468054cc3
Implement tutorial management
2 years ago
dolfies
2ccf7108de
Parse and expose friend suggestion count
2 years ago
dolfies
5b6e6d13b7
Implement read states ( #498 )
* Base read states
* Base read states
* Models and helpers
* Increase mention counter
* Rest of the ack events
* Finishing touches and doccs
* Fix RawUserFeatureAckEvent docstring
* Add top-level mention count property
* Add ack shortfall note
* Expose and document ReadStateType
* Add Client.read_states getter
* Update scheduled event read state badge count
* Update README
2 years ago
dolfies
d08e22e719
Implement oauth2 authorization
2 years ago
dolfies
e0c6612922
Implement friend suggestions
2 years ago
dolfies
dd733e931b
Rework profiles and notes, add note_update event
2 years ago
dolfies
82a4d05520
Redocument GatewayNotFound error
2 years ago
dolfies
3e3cf05423
Don't use abc.PrivateChannel in type hints
2 years ago
dolfies
0153ee7f23
Update versionadded for call voice state changing
2 years ago
dolfies
11832ad7c8
Update protobuf settings in change_presence
2 years ago
dolfies
c77ffa9c79
Cache and update RequiredActionType
2 years ago
dolfies
30e8aa37e7
Remove friend invite creation functionality
This feature is actively being worked on and is not stable
2 years ago
dolfies
07203e576f
Add separate data class for Client.fetch_guilds(), add application_command_counts_update event, fix various guild issues
2 years ago
dolfies
8a1a3ffcce
Fix issues with previous upstream commits
2 years ago
Steve C
14875c45e3
Fix permissions-based docstrings to be more consistent
3 years ago
Rapptz
1ea5a4e06b
Add utils.setup_logging to help set up logging outside of Client.run
3 years ago
Rapptz
e4e455945c
Add root_logger setting to Client.run
This allows people one way to use the colour logger globally
3 years ago
Rapptz
7a199fe567
Change a lot of logging INFO calls to be less verbose
Some of the logs were only useful for debug scenarios, so they have
been downgraded to DEBUG. Others were in INFO but supposed to be in
WARNING so those were upgraded.
3 years ago
Puncher
94f93a8b68
Raise TypeError when token is not a string
Co-authored-by: Danny <[email protected] >
3 years ago