from necrobot.condorbot import cmd_event
from necrobot.botbase import cmd_seedgen
from necrobot.botbase.botchannel import BotChannel
from necrobot.ladder import cmd_ladder
from necrobot.league import cmd_league
from necrobot.league import cmd_leaguestats
from necrobot.user import cmd_user


class LadderAdminChannel(BotChannel):
    def __init__(self):
        BotChannel.__init__(self)
        self.channel_commands = [
            cmd_league.CloseAllMatches(self),
            cmd_league.CloseFinished(self),
            # cmd_league.GetCurrentEvent(self),
            # cmd_league.GetMatchRules(self),
            cmd_event.ScrubDatabase(self),
            cmd_event.SetCondorEvent(self),
            # cmd_league.SetEventName(self),
            cmd_league.SetMatchRules(self),

            # cmd_ladder.Automatch(self),
            # cmd_ladder.DropRacer(self),
            cmd_ladder.ForceRanked(self),
            # cmd_ladder.ForceUnranked(self),

            cmd_seedgen.RandomSeed(self),

            cmd_leaguestats.LeagueFastest(self),
            cmd_leaguestats.LeagueStats(self),

            cmd_user.RTMP(self),
            cmd_user.UserInfo(self),
        ]
