Example #1
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'enter', 'join', 'e', 'j')
     self.help_text = 'Enters (registers for) the race. After entering, use `.ready` to indicate you are ready to ' \
                      'begin the race.'
Example #2
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'mostraces')
     self.help_text = '`.mostraces <character_name>` shows the racers with the largest number of (public, ' \
                      'all-zones) races for that character.'
Example #3
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'fastest')
     self.help_text = '`.fastest <character_name>` shows the fastest times for a given character. By ' \
                      'default this shows Amplified times. Use `.fastest <character_name> nodlc to get ' \
                      'base-game times.'
Example #4
0
 def __init__(self, bot_channel, cmd_name):
     CommandType.__init__(self, bot_channel, cmd_name)
     self.admin_only = True
     self.testing_command = True
Example #5
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'help')
     self.help_text = 'Help.'
Example #6
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'set-event-name')
     self.help_text = '`{0} event_name`: Set the name of bot\'s current event. Note: This does not ' \
                      'change or create a new event! Use `.register-condor-event` and `.set-condor-event`.' \
         .format(self.mention)
     self.admin_only = True
Example #7
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'eventinfo')
     self.help_text = 'Get the identifier and name of the current CoNDOR event.' \
         .format(self.mention)
     self.admin_only = True
Example #8
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'ready', 'r')
     self.help_text = 'Indicates that you are ready to begin the race. The race begins when all entrants are ready.'
Example #9
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'unready')
     self.help_text = 'Undoes `.ready`.'
Example #10
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'unpause')
     self.help_text = 'Unpause the race timer.'
     self.admin_only = True
Example #11
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'unenter', 'unjoin')
     self.help_text = 'Leaves the race.'
Example #12
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'reseed')
     self.help_text = 'Randomly generate a new seed for this race.'
     self.admin_only = True
Example #13
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'endrace', 'forceforfeitall')
     self.help_text = 'Force all unfinished racers to forfeit the race and end the race.'
     self.admin_only = True
Example #14
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'forceforfeit')
     self.help_text = 'Force the given racer to forfeit the race (even if they have finished).'
     self.admin_only = True
Example #15
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'setevent')
     self.help_text = '`{0} schema_name`: Set the bot\'s current event to `schema_name`.' \
         .format(self.mention)
     self.admin_only = True
Example #16
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'done', 'finish', 'd')
     self.help_text = 'Indicates you have finished the race goal, and gets your final time. '
Example #17
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'setdeadline')
     self.help_text = '`{0} time`: Set a deadline for scheduling matches (e.g. "friday 12:00"). The given time ' \
                      'will be interpreted in UTC.' \
                      .format(self.mention)
     self.admin_only = True
Example #18
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'undone', 'unfinish')
     self.help_text = 'Undoes an earlier `.done`.'
Example #19
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'deadline')
     self.help_text = 'Get the deadline for scheduling matches.'
     self.admin_only = True
Example #20
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'forfeit', 'quit', 'f', 'q')
     self.help_text = 'Forfeits from the race.'
Example #21
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'register-condor-event')
     self.help_text = '`{0} schema_name`: Create a new CoNDOR event in the database, and set this to ' \
                      'be the bot\'s current event.' \
         .format(self.mention)
     self.admin_only = True
Example #22
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'unforfeit', 'unquit')
     self.help_text = 'Undoes an earlier `.forfeit`.'
Example #23
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'info')
     self.help_text = 'Necrobot version information.'
Example #24
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'staff')
     self.help_text = 'Alert the CoNDOR Staff to a problem.'
Example #25
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'force')
     self.help_text = '`{0} user command`: Simulate the user entering the given command in the current channel.' \
         .format(self.mention)
     # self.testing_command = True
     self.admin_only = True
Example #26
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'makecondor')
     self.help_text = "Create a new CoNDOR race room. This takes the same command-line options as `.make`. You " \
                      "can create multiple rooms at once by adding `-repeat N`, where `N` is the number of rooms " \
                      "to create (limit 20)."
     self.admin_only = True
Example #27
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'stats')
     self.help_text = 'Show your own race stats, or use `.stats <username>` to show for a different user. ' \
                      'By default this shows stats for Amplified races; to get stats for the base game, ' \
                      'call `.stats <username> nodlc`.'
Example #28
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'scrubdatabase')
     self.help_text = 'Deletes matches without a current channel and with no played races from the database.'
     self.admin_only = True
Example #29
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'addrole')
     self.help_text = "Add yourself to a CRoW role. Use `{cmd} crow4` for the 4pm role, and `{cmd} crow11` " \
                      "for the 11pm role.".format(cmd=self.mention)
Example #30
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'time')
     self.help_text = 'Get the current race time.'