コード例 #1
0
ファイル: mainchannel.py プロジェクト: pancelor/necrobot
    def __init__(self):
        BotChannel.__init__(self)
        self.channel_commands = [
            cmd_admin.Die(self),
            # cmd_admin.Reboot(self),
            cmd_color.ColorMe(self),

            # cmd_ladder.ForceRanked(self),
            # cmd_ladder.Ranked(self),
            # cmd_ladder.Rating(self),
            # cmd_ladder.Unranked(self),
            cmd_racemake.Make(self),
            cmd_racemake.MakeCondor(self),
            cmd_racemake.MakePrivate(self),
            cmd_racestats.Fastest(self),
            cmd_racestats.MostRaces(self),
            cmd_racestats.Stats(self),
            cmd_role.AddCRoWRole(self),
            cmd_role.RemoveCRoWRole(self),
            cmd_seedgen.RandomSeed(self),

            # cmd_speedrun.Submit(self),
            cmd_user.DailyAlert(self),
            cmd_user.RaceAlert(self),
            cmd_user.RTMP(self),
            cmd_user.SetInfo(self),
            cmd_user.Timezone(self),
            cmd_user.Twitch(self),
            cmd_user.ViewPrefs(self),
            cmd_user.UserInfo(self),
        ]
コード例 #2
0
 def __init__(self):
     BotChannel.__init__(self)
     self.channel_commands = [
         cmd_league.CloseAllMatches(self),
         cmd_league.CloseFinished(self),
         cmd_league.Deadline(self),
         cmd_league.DropRacer(self),
         cmd_league.ForceMakeMatch(self),
         cmd_league.GetCurrentEvent(self),
         cmd_league.GetMatchRules(self),
         cmd_league.MakeMatchesFromFile(self),
         cmd_league.RegisterCondorEvent(self),
         cmd_league.ScrubDatabase(self),
         cmd_league.SetCondorEvent(self),
         cmd_league.SetDeadline(self),
         cmd_league.SetEventName(self),
         cmd_league.SetMatchRules(self),
         cmd_sheet.GetGSheet(self),
         cmd_sheet.OverwriteGSheet(self),
         cmd_sheet.SetGSheet(self),
         cmd_seedgen.RandomSeed(self),
         cmd_speedrun.OverwriteSpeedrunGSheet(self),
         cmd_speedrun.SetSpeedrunGSheet(self),
         cmd_speedrun.Verify(self),
         cmd_user.ForceRTMP(self),
         cmd_user.RTMP(self),
         cmd_user.UserInfo(self),
         cmd_test.TestCreateCategory(self),
         cmd_test.TestOverwriteGSheet(self),
     ]
コード例 #3
0
    def __init__(self):
        BotChannel.__init__(self)
        self.channel_commands = [
            # cmd_condor.Automatch(self),

            cmd_league.CloseAllMatches(self),
            cmd_league.CloseFinished(self),
            cmd_league.Deadline(self),
            cmd_league.DropRacer(self),
            cmd_league.GetCurrentEvent(self),
            cmd_league.GetMatchRules(self),
            cmd_league.MakeMatch(self),
            cmd_league.RegisterCondorEvent(self),
            cmd_league.SetCondorEvent(self),
            cmd_league.SetDeadline(self),
            cmd_league.SetEventName(self),
            cmd_league.SetMatchRules(self),

            cmd_sheet.GetGSheet(self),
            cmd_sheet.MakeFromSheet(self),
            cmd_sheet.SetGSheet(self),

            cmd_seedgen.RandomSeed(self),

            cmd_user.ForceRTMP(self),
            cmd_user.RTMP(self),
            cmd_user.UserInfo(self),
        ]
コード例 #4
0
ファイル: pmbotchannel.py プロジェクト: saturnin55/necrobot
 def __init__(self):
     BotChannel.__init__(self)
     self.channel_commands = [
         cmd_admin.Die(self),
         cmd_admin.Reboot(self),
         cmd_admin.RedoInit(self),
         cmd_daily.DailyChar(self),
         cmd_daily.DailyResubmit(self),
         cmd_daily.DailyRules(self),
         cmd_daily.DailySeed(self),
         cmd_daily.DailyStatus(self),
         cmd_daily.DailySubmit(self),
         cmd_daily.DailyUnsubmit(self),
         cmd_daily.DailyWhen(self),
         cmd_daily.ForceRunNewDaily(self),
         cmd_daily.ForceUpdateLeaderboard(self),
         cmd_racemake.Make(self),
         cmd_racemake.MakeCondor(self),
         cmd_racemake.MakePrivate(self),
         cmd_seedgen.RandomSeed(self),
         cmd_stats.Fastest(self),
         cmd_stats.MostRaces(self),
         cmd_stats.Stats(self),
         cmd_user.DailyAlert(self),
         cmd_user.RaceAlert(self),
         cmd_user.RTMP(self),
         cmd_user.SetInfo(self),
         cmd_user.Timezone(self),
         cmd_user.Twitch(self),
         cmd_user.ViewPrefs(self),
         cmd_user.UserInfo(self),
     ]
コード例 #5
0
 def __init__(self):
     BotChannel.__init__(self)
     self.channel_commands = [
         cmd_ladder.Automatch(self),
         cmd_ladder.CloseFinished(self),
         cmd_ladder.DropRacer(self),
         cmd_ladder.ForceRanked(self),
         cmd_seedgen.RandomSeed(self),
         cmd_racestats.Fastest(self),
         cmd_racestats.MostRaces(self),
         cmd_racestats.Stats(self),
         cmd_user.RTMP(self),
         cmd_user.UserInfo(self),
     ]
コード例 #6
0
 def __init__(self):
     BotChannel.__init__(self)
     self.channel_commands = [
         cmd_admin.Die(self),
         cmd_admin.RaiseException(self),
         cmd_admin.Reboot(self),
         cmd_admin.RedoInit(self),
         cmd_match.Vod(self),
         cmd_stats.LeagueFastest(self),
         cmd_stats.LeagueStats(self),
         cmd_user.RTMP(self),
         cmd_user.SetInfo(self),
         cmd_user.Timezone(self),
         cmd_user.Twitch(self),
         cmd_user.UserInfo(self),
     ]
コード例 #7
0
 def __init__(self):
     BotChannel.__init__(self)
     self.channel_commands = [
         cmd_admin.Die(self),
         cmd_admin.Reboot(self),
         cmd_admin.RedoInit(self),
         cmd_league.NextRace(self),
         cmd_match.Cawmentate(self),
         cmd_match.Uncawmentate(self),
         cmd_stats.LeagueFastest(self),
         cmd_stats.LeagueStats(self),
         cmd_user.RTMP(self),
         cmd_user.SetInfo(self),
         cmd_user.Timezone(self),
         cmd_user.Twitch(self),
         cmd_user.UserInfo(self),
     ]
コード例 #8
0
    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),
        ]
コード例 #9
0
    def __init__(self, ladder=False):
        BotChannel.__init__(self)

        self.channel_commands = [
            cmd_admin.Die(self),
            cmd_admin.RedoInit(self),
            cmd_league.NextRace(self),
            cmd_match.Cawmentate(self),
            cmd_match.Uncawmentate(self),
            cmd_leaguestats.LeagueFastest(self),
            cmd_leaguestats.LeagueStats(self),

            # cmd_speedrun.Submit(self),
            cmd_user.RTMP(self),
            cmd_user.SetInfo(self),
            cmd_user.Timezone(self),
            cmd_user.Twitch(self),
            cmd_user.UserInfo(self),
        ]

        if ladder:
            self.channel_commands.append(cmd_league.MakeMatch(self))
コード例 #10
0
    def __init__(self):
        BotChannel.__init__(self)
        self.channel_commands = [
            cmd_admin.Die(self),
            cmd_admin.RedoInit(self),
            cmd_racemake.Make(self),
            cmd_racemake.MakeCondor(self),
            cmd_racemake.MakePrivate(self),
            cmd_racestats.Fastest(self),
            cmd_racestats.MostRaces(self),
            cmd_racestats.Stats(self),
            cmd_seedgen.RandomSeed(self),

            # cmd_speedrun.Submit(self),
            cmd_user.DailyAlert(self),
            cmd_user.RaceAlert(self),
            cmd_user.RTMP(self),
            cmd_user.SetInfo(self),
            cmd_user.Timezone(self),
            cmd_user.Twitch(self),
            cmd_user.ViewPrefs(self),
            cmd_user.UserInfo(self),
        ]