Skip to content

Content Managers!#178

Open
Borketh wants to merge 12 commits into
devfrom
bork-fixes
Open

Content Managers!#178
Borketh wants to merge 12 commits into
devfrom
bork-fixes

Conversation

@Borketh

@Borketh Borketh commented Feb 24, 2025

Copy link
Copy Markdown
Member

There were intermittent issues within Crashes where tasks' assigned files were closed before the tasks could execute. This solves that with a way overcomplicated synchronization system. Hopefully I thought of everything.

The content manager class can also be used to very simply get all files from a message, whether they're directly attached or linked.

There are also methods to make a group of File objects, which can be used to send multiple files along with a message.

Closes #177

Borketh and others added 6 commits February 28, 2025 15:23
this configuration appears to have no import issues, regardless of how and where the bot is started. this works for

poetry run fred
python -m fred
python fred/__main__.py
python fred

and the jetbrains profiler can launch it correctly (but due to the persistent nature of the bot, it does not accurately profile anything)
@budak7273 budak7273 moved this from 🆕 New to 👀 In review in FICSIT-Fred Apr 27, 2025
@Borketh Borketh changed the title 2.26: Content Managers! Content Managers! Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 👀 In review

Development

Successfully merging this pull request may close these issues.

Proper content management system User after free (close) on files in Crashes Check file type before decoding

2 participants