瀏覽代碼

Make expired reminders last for a full day.

tags/v0.3
Ben Kurtovic 8 年之前
父節點
當前提交
be6c272d18
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      earwigbot/commands/remind.py

+ 1
- 1
earwigbot/commands/remind.py 查看文件

@@ -472,7 +472,7 @@ class _Reminder(object):
"""Activate the reminder for the user."""
self._cmdobj.reply(self._data, self.message)
self._cmdobj.unstore_reminder(self.id)
self.end = time.time() + 60
self.end = time.time() + (60 * 60 * 24)
self._expired = True

def _finalize(self):


Loading…
取消
儲存