dolfies
7e5ff57a57
Improve experiment filter ergonomics
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
178eb31cf2
Properly implement FriendSuggestionReason
2 years ago
dolfies
5efdd767f6
Make Application enums consistent (AppCommandType -> ApplicationCommandType)
2 years ago
dolfies
5832e8bfdf
Implement unverified game reporting
2 years ago
owocado
b62ac0839e
Add Instagram connection and update PartialConnection.url ( #501 )
* add `instagram` to ConnectionType enum
* update PartialConnection.url
* update docs
* [docs] add versionadded directive
* update `ConnectionType` literal in types.user
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
8f3e334daa
Update FriendSuggestionReason types
2 years ago
dolfies
e0c6612922
Implement friend suggestions
2 years ago
dolfies
663033839f
Refactor guild availability legacy cruft
2 years ago
dolfies
c77ffa9c79
Cache and update RequiredActionType
2 years ago
dolfies
4106f6ae84
Document implicit relationship type and undocument unused required action type
2 years ago
Puncher
2f5bc11d3a
Add support for default_sort_order in ForumChannel
2 years ago
Rapptz
841f1debdc
Add support for stage message types
2 years ago
Rapptz
aafe7a1258
Add new message types to MessageType enum
2 years ago
Rapptz
2dd8f92309
Add support for role subscription reading
2 years ago
Rapptz
24118d0e81
Add support for ForumChannel.default_layout
2 years ago
Rapptz
221bbdc846
Add Locale.indonesian
2 years ago
Rapptz
f2d1d8b439
Add active developer flag
3 years ago
Josh
72798fbdd2
Add additional audit log types for automod
3 years ago
z03h
7d7be56eb6
Add mention_spam automod trigger and change default values
3 years ago
z03h
55ae37f65e
Add automod types to audit log
3 years ago
Alex Nørgaard
d61ccf7931
Implement AutoMod
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
9a6d1e4e52
Implement missing invite target types
2 years ago
dolfies
edf083bd1e
Implement relationship presence and gateway session management
2 years ago
dolfies
6887e34fcd
Implement GIF stickers (fix crash)
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
Rancor
ab243cdb6a
Add crunchyroll connection type ( #426 )
* Add crunchyroll to connections
* omagadbruh what da hell
2 years ago
igna
11b9063c79
implement TikTok connection type ( #416 )
3 years ago
dolfies
b2d834f898
Cleanup and implement missing setting types (fixes #<deleted-issue>)
3 years ago
dolfies
c4b6007979
Implement new connection capabilities
3 years ago
dolfies
7c29184fa4
Type connection payloads, improve docstrings, move type to an enum, add fields to edit()
3 years ago
dolfies
8eaa26d479
Various fixes (docs, events, enums, exports
3 years ago
dolfies
8fcca3183a
Rebase to latest upstream
3 years ago
dolfies
29c2036bc8
Rebase to latest upstream
3 years ago
dolfies
3395417844
Improve typing across the board, remove old browser references
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
dolfies
9004f6f0d9
Parse ApplicationType and document ApplicationBot
3 years ago
Rapptz
06291d860c
Change enum members in Locale to be snake_case
Not even sure how this slipped through.
3 years ago
Rapptz
aa74238053
Reorganise documentation for interactions
3 years ago
Josh
147948af9b
Use typing.Self throughout library
3 years ago
Rapptz
ae1aaac5a7
Add support for autocomplete
3 years ago
Nadir Chowdhury
3c6279b947
Implement Guild Scheduled Events
3 years ago
dolfies
ee722b4a1f
Add method to ABC and update VoiceRegion enum
3 years ago
Rapptz
0eb2f32399
Remove VoiceRegion enum and Guild.region attribute
This has been marked deprecated by Discord and it was more or less
usually out of date due to the pace they added them anyway.
3 years ago
Rapptz
cc21872072
Add Locale enum
3 years ago
mniip
ff90e7e747
GUILD_UPDATE audit logs
3 years ago
Rapptz
d01e73fca5
Document more uses of type ignore
3 years ago