From 802fa3227d6f33d01366cdd5b5e146d0cb4e8036 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Thu, 6 Oct 2016 00:01:48 -0500 Subject: [PATCH] Make "!remind list" behavior more predictable. --- earwigbot/commands/remind.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/earwigbot/commands/remind.py b/earwigbot/commands/remind.py index 1b3d524..e2061d4 100644 --- a/earwigbot/commands/remind.py +++ b/earwigbot/commands/remind.py @@ -30,7 +30,7 @@ import time from earwigbot.commands import Command from earwigbot.irc import Data -DISPLAY = ["display", "show", "list", "info", "details"] +DISPLAY = ["display", "show", "info", "details"] CANCEL = ["cancel", "stop", "delete", "del", "stop", "unremind", "forget", "disregard"] SNOOZE = ["snooze", "delay", "reset", "adjust", "modify", "change"] @@ -304,6 +304,8 @@ class Remind(Command): if data.args[0] == "help": return self._show_help(data) + if data.args[0] == "list": + return self._show_reminders(data) if data.args[0] == "all": return self._show_all_reminders(data) if data.args[0] in DISPLAY + CANCEL + SNOOZE: