dolfies
a7554ba7d4
Remove deprecated setting field
5 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
Rapptz
674845479d
Add support for resume_gateway_url
3 years ago
z03h
39a3fc341f
Add Object.type to Objects where a type can be determined
3 years ago
Bryan Forbes
b9795979ac
Bump Pyright to 1.1.265, fix type errors, and remove unnecessary ignores
3 years ago
Rapptz
088e763306
Change certain sequences to use a special proxy type instead of list
This is to speed up cases where someone is just querying the length
of the underlying sequence. If anything else is done to the sequence
then it is copied from the original iterator.
This change should be mostly transparent.
3 years ago
Rapptz
e08b9ab68e
Allow configuring the maximum ratelimit timeout before erroring
This is useful for cases where a rate limit is known to be
extraordinarily high, but you still want to handle the error.
This is common with routes such as emoji creation.
3 years ago
Rapptz
495854bcb3
Change stderr prints to use the logging module instead
3 years ago
Rapptz
5c61d2d738
Add default logging configuration when using Client.run
While it is possible to do this type of your set up yourself, it's
better for beginners to have logging automatically set up for them.
This has come up often in the help channel over the years. This also
provides an escape hatch to disable it.
3 years ago