diff options
author | 2019-05-28 17:11:24 -0400 | |
---|---|---|
committer | 2019-05-28 17:11:24 -0400 | |
commit | a669bb567cc09c3211ecb9c45e0089d56f3059bc (patch) | |
tree | c7ce1dc69f9ec53f030b672c20245728760cba6f /bot/seasons/evergreen/showprojects.py | |
parent | Merge branch 'master' into docstring-lint-change (diff) |
Relint updated cogs for new linting rules
Fix last message scoping issue with show your project reactions
Diffstat (limited to 'bot/seasons/evergreen/showprojects.py')
-rw-r--r-- | bot/seasons/evergreen/showprojects.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bot/seasons/evergreen/showprojects.py b/bot/seasons/evergreen/showprojects.py index d6223690..37809b33 100644 --- a/bot/seasons/evergreen/showprojects.py +++ b/bot/seasons/evergreen/showprojects.py @@ -17,7 +17,6 @@ class ShowProjects(commands.Cog): @commands.Cog.listener() async def on_message(self, message): """Adds reactions to posts in #show-your-projects""" - reactions = ["\U0001f44d", "\U00002764", "\U0001f440", "\U0001f389", "\U0001f680", "\U00002b50", "\U0001f6a9"] if (message.channel.id == Channels.show_your_projects and message.author.bot is False @@ -25,11 +24,10 @@ class ShowProjects(commands.Cog): for reaction in reactions: await message.add_reaction(reaction) - self.lastPoster = message.author.id + self.lastPoster = message.author.id def setup(bot): """Show Projects Reaction Cog""" - bot.add_cog(ShowProjects(bot)) log.info("ShowProjects cog loaded") |