diff --git a/README.rst b/README.rst index 9bd988e..c9ff2bf 100644 --- a/README.rst +++ b/README.rst @@ -182,7 +182,8 @@ You have to be a channel operator (+o) to use admin commands. Removes active entries for specified track(s) ~newday - Removes now/next/location entries, to be run at the start of a new day + Removes existing now/next/location/presence entries. This command is + meant to be run at the start of a new day ~motd LEVEL MESSAGE Adds a message of the day on top of the rendered page. Level must be one of diff --git a/ptgbot/db.py b/ptgbot/db.py index f944da0..5dc0e36 100644 --- a/ptgbot/db.py +++ b/ptgbot/db.py @@ -191,6 +191,7 @@ class PTGDataBase(): self.data['now'] = OrderedDict() self.data['next'] = OrderedDict() self.data['location'] = OrderedDict() + self.data['last_check_in'] = OrderedDict() self.clean_motd() def empty(self):