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))