From a066ea6fbbebbe353d0a673de5558d24fd889f2f Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 3 Dec 2016 18:37:13 +0100 Subject: alias 'dont play…' to 'don't play' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.py') diff --git a/main.py b/main.py index d101774..e72b52f 100644 --- a/main.py +++ b/main.py @@ -104,7 +104,7 @@ async def on_message(message): response = await search_teammates(message.author, when) await cli.send_message(message.channel, response) - if msg.startswith("don't play with me"): + if msg.startswith("don't play with me") or msg.startswith("dont play with me"): db.playwithme.remove({"player": message.author.id}) await cli.send_message(message.channel, "Canceled all notifications.") -- cgit v1.3.1