|
|
|
@ -3,15 +3,13 @@ from collections import defaultdict
|
|
|
|
|
from random import choice
|
|
|
|
|
|
|
|
|
|
import discord
|
|
|
|
|
from discord.ext import commands
|
|
|
|
|
|
|
|
|
|
# Import all roles here
|
|
|
|
|
from redbot.core import RedContext
|
|
|
|
|
from redbot.core.utils.menus import menu, prev_page, next_page, close_menu
|
|
|
|
|
|
|
|
|
|
from werewolf.roles.seer import Seer
|
|
|
|
|
from werewolf.roles.vanillawerewolf import VanillaWerewolf
|
|
|
|
|
from werewolf.roles.villager import Villager
|
|
|
|
|
from redbot.core.utils.menus import menu, prev_page, next_page, close_menu
|
|
|
|
|
|
|
|
|
|
# All roles in this list for iterating
|
|
|
|
|
|
|
|
|
@ -120,8 +118,6 @@ async def parse_code(code, game):
|
|
|
|
|
digits += 1
|
|
|
|
|
continue
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
|
idx = int(built)
|
|
|
|
|
except ValueError:
|
|
|
|
@ -146,7 +142,6 @@ async def parse_code(code, game):
|
|
|
|
|
|
|
|
|
|
built = ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return decode
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|