Skip to content

Local: Dictionary and /roll, type annotations and PageView, bug fixing#42

Merged
MysticMia merged 27 commits intomainfrom
local
May 24, 2025
Merged

Local: Dictionary and /roll, type annotations and PageView, bug fixing#42
MysticMia merged 27 commits intomainfrom
local

Conversation

@MysticMia
Copy link
Collaborator

yeah

MysticMia added 27 commits May 16, 2025 04:35
…ldown variable from epoch int to datetime object.

Expand the documentation for try_store_vc_rename.
Move error handling from parse_and_create_reminder in _parse_reminder_time to remindme command function.
Some files aren't wrapped, like the /roll command in funaddons and most dictionary pages. That's because those are being edited in the remove-complexity branch and will get formatted eventually or have already been formatted there.
… DictionarySources enum instead of using integers.
I had missed a few. This one also does InteractionResponse.
Also replaces #noqa with #type:ignore when typing itx and itx.response.
Also invert some if-statements to make it more readable (i think?)
This also lets the autocomplete ignore delayed responses with a timeout.
Also rename CustomDictionary._get_database_response to be consistent with the other dictionary classes.
And catch an error when a view times out but the original message was not found (deleted).
…ttons).

Also make some async functions sync cuz they don't have any await statements.
is_staff was imported from resources.utils before, but it had been in the resources/checks/ directory, so it makes more sense to have it be imported from resources.checks.__init__ as well.
@MysticMia MysticMia merged commit 88b6986 into main May 24, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant