From dd3742a318c967f36e3f61f8971313254c181cb0 Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Mon, 27 Mar 2017 18:31:42 -0500 Subject: [PATCH] Call strip --- cogs/tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/tags.py b/cogs/tags.py index 6a580ff..377ee5e 100644 --- a/cogs/tags.py +++ b/cogs/tags.py @@ -54,7 +54,7 @@ class Tags: tags = await utils.get_content('tags', str(ctx.message.guild.id)) if tags and len(tags['tags']) > 0: for t in tags['tags']: - if t['trigger'].lower.strip() == tag: + if t['trigger'].lower().strip() == tag: await ctx.send(t['result']) return await ctx.send("There is no tag called {}".format(tag))