From 9bbc42e6ac1cdbbaaa06bba24e1570b32e128bf2 Mon Sep 17 00:00:00 2001 From: bobloy Date: Thu, 19 Apr 2018 14:25:42 -0400 Subject: [PATCH] pep8 --- .gitignore | 1 + werewolf/builder.py | 3 +-- werewolf/game.py | 2 +- werewolf/werewolf.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index b5b03ca..6fca487 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ .idea/modules.xml .idea/vcs.xml .idea/workspace.xml +*.pyc diff --git a/werewolf/builder.py b/werewolf/builder.py index aad0604..b10b4a9 100644 --- a/werewolf/builder.py +++ b/werewolf/builder.py @@ -46,8 +46,7 @@ async def parse_code(code): async def build_game(channel: discord.TextChannel): await channel.send("Not currently available") - - + code = 12345678 await channel.send("Your game code is **`{}`**".format(code)) diff --git a/werewolf/game.py b/werewolf/game.py index d6ae1cf..f48aaad 100644 --- a/werewolf/game.py +++ b/werewolf/game.py @@ -141,7 +141,7 @@ class Game: """ await self._at_day_start() # Once cycle ends, this will trigger end_game - await self._end_game() # Handle open channels + await self._end_game() # Handle open channels async def _at_game_start(self): # ID 0 if self.game_over: diff --git a/werewolf/werewolf.py b/werewolf/werewolf.py index 10afe08..30791a0 100644 --- a/werewolf/werewolf.py +++ b/werewolf/werewolf.py @@ -137,7 +137,7 @@ class Werewolf: await game.vote(ctx.author, id, channel) else: await ctx.send("Nothing to vote for in this channel") - + @ww.command() async def choose(self, ctx, data): """