diff --git a/ChristmasEvent.py b/ChristmasEvent.py index 7a4e785..eecf963 100755 --- a/ChristmasEvent.py +++ b/ChristmasEvent.py @@ -215,13 +215,13 @@ class ChristmasBot: data = self.db.get_forest_data() - if self.last_updated_data and len(self.last_updated_data) == len(data): + if self.last_updated_data and (len(self.last_updated_data) == len(data) or len(data) == 0): # Nothing changed. print(f"No change in dashboard, last checked {now}...", end="\r") return print("📝 Updating Forest Dashboard...") - + self.last_updated_data = data body = "# 🎄 The Christmas Forest 🎄\n\n" body += "### How to Participate:\n" body += "1. Send a DM to u/{}\n".format(config.username)