Faster Auto Accept Quests and Auto Notify on Quest End

== Features ==
*Auto accepts quest invites within a few seconds of receiving the quest
*Notifies via private message when a quest has just finished (to have priority in setting up the next quest)
*Either of the features above can be disabled
*Rate limit checking (auto-retries after delay)
*Auto creation of hourly trigger for auto accepting quests as backup on the rare times Habitica's webhook fails to trigger the script
== First-Time Setup Instructions ==
*Follow the easy step-by-step setup guide with pictures
== Code ==
*https://raw.githubusercontent.com/elrgarcia/Habitica-Faster-Auto-Accept-Quests-and-Auto-Notify-on-Quest-End/master/Code.txt
== Optional Customizations ==
*ENABLE_AUTO_ACCEPT_QUESTS can be set to 0 to disable auto accepting quests
*ENABLE_QUEST_COMPLETED_NOTIFICATION can be set to 0 to disable auto notify on quest end
== Update Instructions ==
*If you already had an earlier version of the script set up previously and want to update to a newer version, do all three parts under Applying Updates to Streamlined Scripts
== YouTube Step-by-Step Instructions ==
* https://youtu.be/Vutj4igrZwc (Updated Apr 29, 2023 for new Google Apps Script interface)
** Google Script home: https://script.google.com
** Your Habitica API details: https://habitica.com/user/settings/api
== Credits and Acknowledgments ==
*@steelblade for initial webhook tips and debugging help
Category:Streamlined Event-Driven Scripts