dolfies
a91802e51b
Move guild creation to connection state to prevent circular imports
2 years ago
dolfies
d57b5edd1e
Fix typo when parsing disclose updates
2 years ago
dolfies
23b8a3d49e
Fix docs linking and new pyright version type errors
2 years ago
dolfies
8e8d0ff12a
Implement Search Recent Members OP
2 years ago
dolfies
26280fd24d
Implement pomelo migrating
2 years ago
Rapptz
1424412e42
Hoist webhook detection outside of store_user helper
2 years ago
Rapptz
e6e380f904
Initial support for pomelo migration
2 years ago
z03h
8dc160689c
Convert Webhook targets in AuditlogEntry
2 years ago
dolfies
fe304dfc7c
Save READY data at beginning of event handling
2 years ago
dolfies
0a1cadb123
Move independent event parsing back to READY event handler
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
4039345c15
Implement new read state capabilities
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
2aba3d0c0c
Implement scheduled event subscriptions and add raw scheduled event user add/remove events
2 years ago
dolfies
3108aabcce
Implement message search
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
3e3cf05423
Don't use abc.PrivateChannel in type hints
2 years ago
dolfies
663033839f
Refactor guild availability legacy cruft
2 years ago
dolfies
c77ffa9c79
Cache and update RequiredActionType
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
2da78bf2a6
Implement new capabilities, PASSIVE_UPDATE_V1, and add last_pin_timestamp to channels
2 years ago
dolfies
8a1a3ffcce
Fix issues with previous upstream commits
2 years ago
Rapptz
5630d2b8f2
Fix Message.channel rebinding sometimes being Object
2 years ago
Rapptz
ad56fa8a13
Use Mapping instead of Dict for AuditLogEntry inner cache data
2 years ago
Rapptz
0dc05ae5e2
Add support for on_audit_log_entry_create event
2 years ago
z03h
abe9e6d123
Remove leftover guild from scheduled_event_delete dispatch
3 years ago
RioghanDer2te
ae08c79421
Remove redundant VocalGuildChannel in GuildChannel Union
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
Alex Nørgaard
d61ccf7931
Implement AutoMod
3 years ago
Enes Kurbetoğlu
77cf753089
Add on_raw_thread_member_remove event
3 years ago
z03h
0d05cd273e
Add VoiceChannel and Thread to isinstance checks
3 years ago
Rapptz
18ae88b791
Improve generic duck type programming with PartialMessageable
This adds jump_url, permissions_for, and created_at. Luckily, most
cases of this type being constructed already have the guild_id at
creation time.
3 years ago
Lilly Rose Berner
73dbcb9b83
Add raw thread delete event
3 years ago
dolfies
90f9a605de
Rename appinfo.py -> application.py
2 years ago
dolfies
03868c4879
Implement recent messages
2 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
bb8c4a726b
Fix failing fake client user presence update attempts
2 years ago
dolfies
edf083bd1e
Implement relationship presence and gateway session management
2 years ago
dolfies
9a6c4e1e35
Implement (almost) the entirety of the applications, billing, and store API ( #449 )
* Initial implementation
* Expose various rich methods to fetch the new models
* Add localize parameters and remove useless payment_source parameters from front-facing fetch methods
* Implement fetching and (partially) redeeming gifts
* Slot remaining models
* Correctly document Gift.redeem() channel parameter
* Implement some stuffs, fix more stuffs, add creating/editing skus/store listings
* Various context properties fixes
* Fix various types, expose SubscriptionPlan
* (Partially) implement purchasing SKUs and gift flags
* Finish and clean-up store/applications API implementations
* Implement build uls, missing sub plan params, purchase sku ret
* Fix upload_files() warning
* Formatter pass
* Normalize include_x to with_x, add various small missing things
* Update sub on manual invoice payment instead of returning new object
* Black pass
* Implement missing integrations/applications API shit
* Implement Application.store_listing_sku_id
* Expose richer subscription metadata guild info
* Implement SKU.system_requirements localization and modification
* Black pass
* Implement premium usage
* Implement application whitelist
* Implement active developer program enrollment
* Readd new team members to cache
* Polishing
* Implement leaving active developer program
* Type everything
* Expose everything
* Implement relationship activity statistics, improve model
* Black pass
* Document everything
* Add crunchyroll connection type (#426 )
* Fix type-checking error in PrivateChannel ABC (#427 )
* Update required property fetching to new domain
* Pin black to v22.6
* Get pyright to shut up
* Black pass
* Get pyright to shut up
2 years ago
dolfies
cbc5d706c2
Implement message requests
2 years ago
dolfies
aff2d40c20
Account for rare edge-case where MemberSidebar.safe is unpredictably incorrect
3 years ago
dolfies
b2c4b6f03d
Eliminate channel-less interaction case, clean up and fix interaction execution ( fixes #380 )
3 years ago
dolfies
861d61d96d
Fix member list cache race condition
3 years ago
dolfies
b2d834f898
Cleanup and implement missing setting types (fixes #<deleted-issue>)
3 years ago