Skip to content

Commit

Permalink
updates to reminder message
Browse files Browse the repository at this point in the history
  • Loading branch information
Mole1424 committed Apr 6, 2024
1 parent b204539 commit db6fc05
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 45 deletions.
96 changes: 52 additions & 44 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cogs/commands/reminders.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def add_base(self, reminder):
db_session.commit()
gran = precisedelta(CONFIG.REMINDER_SEARCH_INTERVAL, minimum_unit="seconds")
return {
"content": f"Reminder prepared for <t:{int(reminder.trigger_at.timestamp())}:R> (granularity is {gran})."
"content": f"Reminder {reminder.id} prepared for <t:{int(reminder.trigger_at.timestamp())}:R> (granularity is {gran})."
}
except (ScalarListException, SQLAlchemyError) as e:
db_session.rollback()
Expand Down

0 comments on commit db6fc05

Please sign in to comment.