Skip to content

Commit

Permalink
πŸ”§ chore(dependencies): update dependencies in pyproject.toml
Browse files Browse the repository at this point in the history
πŸ”¨ refactor(event): remove unused AnimeIDF and related code

πŸš€ feat(controller): add new message handlers for various commands

♻️ refactor(controller): simplify tagger function and markdown replies
  • Loading branch information
sudoskys committed Dec 25, 2024
1 parent eae4c39 commit 76eb276
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,14 @@ async def read_novelai(file: BytesIO):
)
)
if meta_data.used_model:
model_tag = str(meta_data.used_model.value).replace("-", "_")
message.append(
formatting.mbold(f"πŸ“¦ Model #{meta_data.used_model}", escape=False),
formatting.mbold(f"πŸ“¦ Model #{model_tag}", escape=False),
)
if meta_data.Source:
source_tag = meta_data.Source.lower().replace(" ", "_")
message.append(
formatting.mbold(f"πŸ“¦ Source #{meta_data.Source}", escape=False),
formatting.mbold(f"πŸ“¦ Source #{source_tag}", escape=False),
)
message.append(
code(
Expand Down

0 comments on commit 76eb276

Please sign in to comment.