Refactor job modification logic and improve label handling in ModifyJobModal

This commit is contained in:
2025-01-20 23:28:18 +01:00
parent 5774939385
commit b8152836c8
4 changed files with 70 additions and 150 deletions

View File

@ -1,13 +0,0 @@
from __future__ import annotations
from discord_reminder_bot import main
def test_if_send_to_discord_is_in_main() -> None:
"""send_to_discords needs to be in main for this program to work."""
assert hasattr(main, "send_to_discord")
def test_if_send_to_user_is_in_main() -> None:
"""send_to_user needs to be in main for this program to work."""
assert hasattr(main, "send_to_user")