-
Notifications
You must be signed in to change notification settings - Fork 14
Implemented ReminderCog #149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…uler jobs, and embed notifications
|
@PenguinBoi12 I have the unit test to write, but I will once we agree that this implementation logic is good. edit: I went ahead and built a unit test. I think, regardless of the logic, the return value should be the same, so it can be tested. |
…minder command behavior - Add tests/extensions/test_reminder_cog.py - Verify timer parsing for valid and invalid formats - Assert _build_timer returns timedelta and _build_embed returns Embed - Test reminder command success and failure paths using AsyncMock/fixtures
PenguinBoi12
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The feature is well built but the test could be improved.
PenguinBoi12
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, that's an awesome feature. Well done!
Description
Implemented a ReminderCog that allows users to set reminders with customizable timers. The implementation includes timer parsing, scheduling jobs, and sending notifications via embedded messages.
This PR resolves the issue #116
Usage
with the slash command:
Without the slash command:
Available characters time for reminder are
s=second,m=minutes,h=hour,d=dayDemo