diff --git a/doc/example-plugins/todo.py b/doc/example-plugins/todo.py index cdfc92b..dea6e0f 100644 --- a/doc/example-plugins/todo.py +++ b/doc/example-plugins/todo.py @@ -8,7 +8,7 @@ def process_message(data): channel = data["channel"] text = data["text"] #only accept tasks on DM channels - if channel.startswith("D") or channel.startswith("C"): + if channel.startswith("D"): if channel not in tasks.keys(): tasks[channel] = [] #do command stuff