From e03c32926edfcfd62c9fe887e1379108cfc1ac8c Mon Sep 17 00:00:00 2001 From: Bobloy Date: Fri, 20 Apr 2018 13:14:22 -0400 Subject: [PATCH] Improve imports --- werewolf/game.py | 5 ++--- werewolf/player.py | 1 - werewolf/role.py | 3 --- werewolf/roles/seer.py | 2 -- werewolf/roles/vanillawerewolf.py | 2 -- werewolf/roles/villager.py | 2 -- werewolf/votegroup.py | 5 ----- werewolf/votegroups/wolfvote.py | 4 ---- werewolf/werewolf.py | 3 --- 9 files changed, 2 insertions(+), 25 deletions(-) diff --git a/werewolf/game.py b/werewolf/game.py index 74f09b9..f19c702 100644 --- a/werewolf/game.py +++ b/werewolf/game.py @@ -1,11 +1,10 @@ import asyncio -import discord - import random -from werewolf.player import Player +import discord from werewolf.builder import parse_code +from werewolf.player import Player class Game: diff --git a/werewolf/player.py b/werewolf/player.py index df19c28..3f244c2 100644 --- a/werewolf/player.py +++ b/werewolf/player.py @@ -1,4 +1,3 @@ -import asyncio import discord diff --git a/werewolf/role.py b/werewolf/role.py index 6187830..e8f4e76 100644 --- a/werewolf/role.py +++ b/werewolf/role.py @@ -1,6 +1,3 @@ -import asyncio - - class Role: """ Base Role class for werewolf game diff --git a/werewolf/roles/seer.py b/werewolf/roles/seer.py index 56d135b..efa5d1f 100644 --- a/werewolf/roles/seer.py +++ b/werewolf/roles/seer.py @@ -1,5 +1,3 @@ -import asyncio - from werewolf.role import Role class Seer(Role): diff --git a/werewolf/roles/vanillawerewolf.py b/werewolf/roles/vanillawerewolf.py index 948458a..5c7de38 100644 --- a/werewolf/roles/vanillawerewolf.py +++ b/werewolf/roles/vanillawerewolf.py @@ -1,5 +1,3 @@ -import asyncio - from werewolf.role import Role from werewolf.votegroups.wolfvote import WolfVote diff --git a/werewolf/roles/villager.py b/werewolf/roles/villager.py index d6c3e03..0b62292 100644 --- a/werewolf/roles/villager.py +++ b/werewolf/roles/villager.py @@ -1,5 +1,3 @@ -import asyncio - from werewolf.role import Role class Villager(Role): diff --git a/werewolf/votegroup.py b/werewolf/votegroup.py index 2fcb0ec..d1d503d 100644 --- a/werewolf/votegroup.py +++ b/werewolf/votegroup.py @@ -1,8 +1,3 @@ -import asyncio - -import discord - - class VoteGroup: """ Base VoteGroup class for werewolf game diff --git a/werewolf/votegroups/wolfvote.py b/werewolf/votegroups/wolfvote.py index 99a8124..7eea7df 100644 --- a/werewolf/votegroups/wolfvote.py +++ b/werewolf/votegroups/wolfvote.py @@ -1,7 +1,3 @@ -import asyncio - -import discord - import random from werewolf.votegroup import VoteGroup diff --git a/werewolf/werewolf.py b/werewolf/werewolf.py index 60f797f..eb441e6 100644 --- a/werewolf/werewolf.py +++ b/werewolf/werewolf.py @@ -1,8 +1,5 @@ -import asyncio - import discord from discord.ext import commands - from redbot.core import Config from werewolf.game import Game