예제 #1
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'rating')
     self.help_text = '`{} username` returns the TrueSkill rating of the discord user `username`; if no ' \
                      'username is given, returns your TrueSkill rating.'.format(self.mention)
예제 #2
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'f-begin', 'forcebegin', 'forcebeginmatch')
     self.help_text = 'Force the match to begin now.'
     self.admin_only = True
예제 #3
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'f-cancelmatch', 'forcecancelmatch')
     self.help_text = 'Cancel this match. Warning: This deletes the race channel.'
     self.admin_only = True
예제 #4
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'staff')
     self.help_text = 'Alert staff to an issue.'
예제 #5
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'cancelrace', 'forcecancel')
     self.help_text = '`{0} N`: Cancel the `N`-th uncanceled race; `{0}` cancels the current race, if one is ' \
                      'ongoing.'.format(self.mention)
     self.admin_only = True
     self.ref_can_call = True
예제 #6
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'undone', 'unfinish')
     self.help_text = 'Undoes an earlier `.done`.'
예제 #7
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'unforfeit', 'unquit')
     self.help_text = 'Undoes an earlier `.forfeit`.'
예제 #8
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'time')
     self.help_text = 'Get the current race time.'
예제 #9
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.'
예제 #10
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'death')
     self.help_text = 'Marks your race as having died at a given level, e.g., `{} 3-2`.'.format(
         self.mention)
예제 #11
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'igt')
     self.help_text = 'Adds an in-game-time to your race, e.g. `{} 12:34.56.`'.format(
         self.mention)
예제 #12
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'comment', 'c')
     self.help_text = 'Adds text as a comment to your race.'
예제 #13
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'addrole')
     self.help_text = "Use `{cmd} crow` to give yourself the CRoW role.".format(
         cmd=self.mention)
예제 #14
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'removerole')
     self.help_text = "Use `{cmd} crow` to remove the CRoW role from yourself.".format(
         cmd=self.mention)
예제 #15
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'unready')
     self.help_text = 'Undoes `.ready`.'
예제 #16
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
예제 #17
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. '
예제 #18
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
예제 #19
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'forfeit', 'quit', 'f', 'q')
     self.help_text = 'Forfeits from the race.'
예제 #20
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
예제 #21
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'matchinfo')
     self.help_text = 'Get the current match status.'
예제 #22
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'unpause')
     self.help_text = 'Unpause the race timer.'
     self.admin_only = True
예제 #23
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'unconfirm')
     self.help_text = 'Remove your confirmation. If all racers have already confirmed, then all racers must ' \
                      '`.unconfirm` for the match to be unscheduled.'
예제 #24
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'changerules')
     self.help_text = 'Change the rules for the race. Takes the same parameters as `.make`.'
     self.admin_only = True
예제 #25
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'changewinner')
     self.help_text = '`{0} N username`: Change the winner for the `N`-th uncanceled race to `username`.' \
                      .format(self.mention)
     self.admin_only = True
예제 #26
0
 def __init__(self, race_room):
     CommandType.__init__(self, race_room, 'unenter', 'unjoin')
     self.help_text = 'Leaves the race.'
예제 #27
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'f-close', 'forceclose')
     self.help_text = 'Close (delete) this match channel. Use `{} nolog` if you do not wish to save a log ' \
                      'of the channel text.'.format(self.mention)
     self.admin_only = True
예제 #28
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.'
예제 #29
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'f-confirm', 'forceconfirm')
     self.help_text = 'Force all racers to confirm the suggested time.'
     self.admin_only = True
예제 #30
0
 def __init__(self, bot_channel):
     CommandType.__init__(self, bot_channel, 'ranked')
     self.help_text = 'Create a ranked ladder match (`{0} opponent_name`).'.format(
         self.mention)