1337w0rm / YeetMeet

YEET MEET is a telegram bot which can be deployed to a server, heroku or on your local machine. It can attend your Google Meet and Zoom classes for you. You can also schedule meetings and it will automatically join at the given time.
170 stars 105 forks source link

trying to understand some lines of code #4

Closed vinayaga-pillai closed 4 years ago

vinayaga-pillai commented 4 years ago

i learned a lot from your code, but there is this one keyword that i cant understand, on line 45, inside the restart() you have these with open('restart.pickle', 'wb') as status: pickle.dump(restart_message, status)

does the restart.pickle refers to the function or it has to do something with the telegram api

1337w0rm commented 4 years ago

restart.pickle is a file which I've used to store the state of the chat so that after restarting the script we can reply to it.

vinayaga-pillai commented 4 years ago

i know this is really stupid😅, but where is the file?

1337w0rm commented 4 years ago

It is created when you run the restart command.

vinayaga-pillai commented 4 years ago

ohhhh, thankyou for your help