From 4454c07d58477b2ced6447a16ff9d2750d6fcf55 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Tue, 12 Jul 2016 11:40:34 -0500 Subject: [PATCH] Testing the tag, more than word seems to be breaking --- cogs/core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cogs/core.py b/cogs/core.py index 4214502..56537a0 100644 --- a/cogs/core.py +++ b/cogs/core.py @@ -126,7 +126,8 @@ class Core: async def tag(self, ctx, *tag: str): """This can be used for custom tags The format to call a custom tag is !tag """ - tag = ' '.join(tag) + tag = ' '.join(tag).strip() + await self.bot.say("Tag is ```{}```".format(tag)) cursor = config.getCursor() cursor.execute('use {}'.format(config.db_default)) cursor.execute('select * from tags where server_id=%s and tag=%s', (ctx.message.server.id, tag))