瀏覽代碼

Allow lower-case R for reminder IDs.

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

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

@@ -255,7 +255,7 @@ class Remind(Command):
"""Handle a reminder-processing subcommand."""
user = data.host
reminder = None
if args and args[0].startswith("R"):
if args and args[0].upper().startswith("R"):
try:
reminder = self._get_reminder_by_id(user, args[0])
except IndexError:


Loading…
取消
儲存