Skip to content

Commit

Permalink
Fix minor bug in start_sending_pills_reminder method
Browse files Browse the repository at this point in the history
  • Loading branch information
jromero132 committed Oct 1, 2024
1 parent 15db1b5 commit 9d73304
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ src/data/media/pics/*
src/data/media/videos/*

# sensitive data
config.ini
src/data/bot.session
src/data/telegram_config.yaml
4 changes: 4 additions & 0 deletions src/data/register.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
afternoon_media:
- 2
- 7
- 15
- 43
- 46
- 48
- 49
- 50
morning_media:
Expand All @@ -13,6 +15,7 @@ morning_media:
- 5
- 18
- 20
- 32
- 36
- 37
- 42
Expand All @@ -27,3 +30,4 @@ morning_stickers:
- 35
- 36
- 38
- 39
1 change: 0 additions & 1 deletion src/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,6 @@ async def wrap(scheduler, client):
await client.send_message(
user_id, "💊 Amorcito, recuerda tomarte la píldora a las 10. Te amo ❤️"
)
start_sending_pills_reminder(scheduler, client)

scheduler.add_job(
wrap,
Expand Down

0 comments on commit 9d73304

Please sign in to comment.