-
-
Notifications
You must be signed in to change notification settings - Fork 493
fix: GuildSchedule not being cached correctly + missing fields #3025
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Lumabots
wants to merge
58
commits into
master
Choose a base branch
from
on_scheduled_event_delete
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 46 commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
43227c4
at first i only wanted to add cached members...
Lumabots fe47678
correcting some bs, like some unknow type added for i dont know what …
Lumabots fff9b3b
use discord variable name, try an implementation for audit logs
Lumabots 9e6a986
feat: add recurrence support for scheduled events with new enums and …
Lumabots 7b2c31f
refactor: remove ScheduledEventLocation class and related attributes …
Lumabots 5a2581e
feat: enhance scheduled event recurrence with validation and serializ…
Lumabots 973a3d2
Merge branch 'master' into on_scheduled_event_delete
Lumabots 9d1d5d7
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 8c85a05
revert breaking change
Lumabots 40d79b6
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b5dc3e9
Update discord/enums.py
Lumabots 405f2c6
Merge branch 'master' into on_scheduled_event_delete
Lumabots 13420ce
paillat comment
Lumabots 469a7b5
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a2f09fe
feat: add overloads for ScheduledEventRecurrenceRule constructor
Lumabots 7e42577
Merge branch 'master' into on_scheduled_event_delete
Lumabots 1c50c9e
Merge branch 'master' into on_scheduled_event_delete
Lumabots 2ff8daf
Merge branch 'master' into on_scheduled_event_delete
Lumabots 6dfd511
refactor: 🗑️ Remove scheduled event recurrence classes and related at…
Lumabots 7fdf52e
Update scheduled_events.py
Lumabots bafd549
refactor: 🗑️ Change _cached_subscribers from dict to set for improved…
Lumabots 8f887d3
paillat comment
Lumabots 6772e09
Update discord/enums.py
Lumabots 79194b5
refactor: 🗑️ Update location type references and deprecate 'cover' pa…
Lumabots 70c37cb
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 2800a08
refactor: 🗑️ Remove unnecessary calls to _add_scheduled_event in Conn…
Lumabots b9ddb02
refactor: 🗑️ Enhance create_scheduled_event method with overloads and…
Lumabots 7b4f7f5
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 44fbd76
Merge branch 'master' into on_scheduled_event_delete
Lumabots a548783
reverse
Lumabots a594faa
feat: Add entity metadata transformation for scheduled events in audi…
Lumabots 294dc39
Merge branch 'master' into on_scheduled_event_delete
Paillat-dev ef960ff
refactor: Update deprecated property decorators to use typing_extensions
Lumabots 8c4c395
fix: Update type hint for _transform_entity_metadata to specify dict[…
Lumabots b1bbf52
Merge branch 'master' into on_scheduled_event_delete
Lumabots ddd0c0e
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 28b4682
fix: improve docstring wording of display methods (#3120)
Lee4test c78136d
fix: Update privacy_level default to MISSING and add deprecation warning
Lumabots 7022e67
Merge branch 'master' into on_scheduled_event_delete
Paillat-dev b86cd07
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 124169b
Merge branch 'master' into on_scheduled_event_delete
Paillat-dev 8cd3495
feat: Misc changes and fixes
Paillat-dev 61078d3
fix: Refactor comparison methods and update VoiceRegion enum values
Lumabots 45c2beb
fix: Add TypeError for unresolved entity_type in Guild class
Lumabots 425be22
Merge branch 'master' into on_scheduled_event_delete
Lumabots b01dbcf
Merge branch 'master' into on_scheduled_event_delete
Lumabots 207396e
Merge branch 'master' into on_scheduled_event_delete
Lumabots fd65324
reverse voice region change by mistake
Lumabots 38e0034
Merge branch 'on_scheduled_event_delete' of https://github.com/Pycord…
Lumabots 4742b65
paillait comment
Lumabots fe312f0
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 44ae828
Merge branch 'master' into on_scheduled_event_delete
Paillat-dev e216d2e
Fix a bunch of stuff
Paillat-dev ea24bd3
chore: Undo, will do this later
Paillat-dev 373c815
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] c8536da
docs: CHANGELOG.md
Paillat-dev cc87293
style(pre-commit): auto fixes from pre-commit.com hooks
pre-commit-ci[bot] d87c944
fix: Allow because of deprecation
Paillat-dev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like it is weird that they both get the same transformer when the two are different types
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i made it just to be compatible like before
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still confused, location isn't supposed to exist as a top level property on Discord's side no ? So why even do we want to set this if it's never there in the first place ? This code is a mess so I may be wrong here but I'm confused as to why we would handle something Discord doesn't send.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i dont know what is happening there exactly, but i do know from testing that location is being triggered sometimes, maybe because of how we use it inside py-cord