remove old todo from bot_core
All checks were successful
Test Helper Module / test (3.11.5) (push) Successful in 1m26s
All checks were successful
Test Helper Module / test (3.11.5) (push) Successful in 1m26s
This commit is contained in:
@@ -260,7 +260,6 @@ async def add_break(interaction: discord.Interaction, start_day: int, start_mont
|
||||
start_date: datetime.date = datetime.date(year=start_year, month=start_month, day=start_day)
|
||||
end_date: datetime.date = datetime.date(year=end_year, month=end_month, day=end_day)
|
||||
|
||||
# TODO send to DATABASE_CONN to add callout
|
||||
try:
|
||||
DATABASE_CONN.add_break(user_id=uid, break_start=start_date, break_end=end_date)
|
||||
except UNIQUEVIOLATION:
|
||||
|
||||
Reference in New Issue
Block a user