fixed indent error, updated draftflags
This commit is contained in:
parent
1b7a32e3ec
commit
28eb6e207f
|
@ -718,7 +718,7 @@ class DraftFlagsCommand(Command):
|
||||||
async def execute(self, msg, command, flags):
|
async def execute(self, msg, command, flags):
|
||||||
text = """Currently accepted flags:
|
text = """Currently accepted flags:
|
||||||
--draftsize or -d: Sets the size of each draft pool.
|
--draftsize or -d: Sets the size of each draft pool.
|
||||||
--minsize or -m: Sets the size at which the pool completely refreshes.
|
--refresh or -r: Sets the size at which the pool completely refreshes.
|
||||||
--teamsize or -t: How big each team should be, including pitchers.
|
--teamsize or -t: How big each team should be, including pitchers.
|
||||||
--pitchercount or -p: How many pitchers each team should have.
|
--pitchercount or -p: How many pitchers each team should have.
|
||||||
--wait or -w: Sets the timeout, in seconds, to wait for draftees to pick a player.
|
--wait or -w: Sets the timeout, in seconds, to wait for draftees to pick a player.
|
||||||
|
@ -792,9 +792,9 @@ class StartDraftCommand(Command):
|
||||||
if mention in handle_token:
|
if mention in handle_token:
|
||||||
handle = mention
|
handle = mention
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
await msg.channel.send(f"I don't recognize {handle_token}.")
|
await msg.channel.send(f"I don't recognize {handle_token}.")
|
||||||
return
|
return
|
||||||
team_name = content[i + 1].strip()
|
team_name = content[i + 1].strip()
|
||||||
if games.get_team(team_name):
|
if games.get_team(team_name):
|
||||||
await msg.channel.send(f'Sorry {handle}, {team_name} already exists')
|
await msg.channel.send(f'Sorry {handle}, {team_name} already exists')
|
||||||
|
@ -2795,4 +2795,4 @@ async def league_subscriber_update(league, start_channel, message):
|
||||||
else:
|
else:
|
||||||
await channel.send(message)
|
await channel.send(message)
|
||||||
|
|
||||||
client.run(config()["token"])
|
client.run(config()["token"])
|
||||||
|
|
Loading…
Reference in a new issue