From aea37395ebc6028041e053a7535464f9b3c107b4 Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Sat, 13 Aug 2016 21:33:12 -0500 Subject: [PATCH] moving setup to the top to test --- cogs/strawpoll.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cogs/strawpoll.py b/cogs/strawpoll.py index 4a0c122..5b6062d 100644 --- a/cogs/strawpoll.py +++ b/cogs/strawpoll.py @@ -6,13 +6,13 @@ from .utils import checks import re import json +def setup(bot): + bot.add_cog(Strawpoll(bot)) + getter = re.compile(r'`(?!`)(.*?)`') multi = re.compile(r'```(.*?)```', re.DOTALL) -def setup(bot): - bot.add_cog(Strawpoll(bot)) - class Strawpoll: """This class is used to create new strawpoll """