Additional type hints

Signed-off-by: Bobloy <alboblexloy@gmail.com>
pull/28/head
bobloy 7 years ago committed by Bobloy
parent c95b2e4ef2
commit 6a977000a2

@ -1,17 +1,23 @@
import asyncio
import random
from typing import List, Any, Dict, Set, Union
import discord
from redbot.core import RedContext
from werewolf.builder import parse_code
from werewolf.player import Player
from werewolf.role import Role
from werewolf.votegroup import VoteGroup
class Game:
"""
Base class to run a single game of Werewolf
"""
vote_groups: Dict[str, VoteGroup]
roles: List[Role]
players: List[Player]
default_secret_channel = {
"channel": None,

Loading…
Cancel
Save