Additional type hints
Signed-off-by: Bobloy <alboblexloy@gmail.com>
This commit is contained in:
		
							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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user