Conversation
mogiiee
left a comment
There was a problem hiding this comment.
Please make sure the code is right.... the goal was to send reminders to the user after every half hour to check if they have completed the work.... but here a question is asked as soon as the work is given.
bot.py
Outdated
|
|
||
| msg = await client.wait_for("message", check=check) | ||
|
|
||
| while True: |
There was a problem hiding this comment.
this is taking the bot into an infinite loop, make sure that does not happen.
|
okay. i'll see to that |
bot.py
Outdated
|
|
||
| if(diff>0): | ||
| { | ||
| msg=await ctx.send(f"Alarm is set for:{time}") |
There was a problem hiding this comment.
this is putting off the code because it is not following a proper format of a dictionary .. please make sure it works properly
mogiiee
left a comment
There was a problem hiding this comment.
Is this code working for you? It is being thrown into an error on line 82 for me... there are alot of indentations and syntax errors. I'd request you to work on those.
|
please check only the last commit i made for fix: syntax and indentation errors for both alarm and hourly reminder....the other two |
|
@sanz17 there are alot of issues which are coming up when we are trying to start the bot and request the alarm ... please check it out. All the best. |
|
@sanz17 I have reviewed your code thoroughly and these are the few improvements
since you are working hard on this please use the command
You are almost there ... happy hacking. All the best. |
closes #3