fixed some inconsestencies with new commands
This commit is contained in:
parent
1f1b215d02
commit
222d2f2fba
|
@ -323,8 +323,8 @@ class SwapPlayerCommand(Command):
|
||||||
await msg.channel.send("Three lines, remember? Command, then team, then name.")
|
await msg.channel.send("Three lines, remember? Command, then team, then name.")
|
||||||
|
|
||||||
class MovePlayerCommand(Command):
|
class MovePlayerCommand(Command):
|
||||||
name = "move"
|
name = "moveplayer"
|
||||||
template = """m;move
|
template = """m;moveplayer
|
||||||
[team name]
|
[team name]
|
||||||
[player name]
|
[player name]
|
||||||
[new lineup/rotation position number] (indexed with 1 being the top)"""
|
[new lineup/rotation position number] (indexed with 1 being the top)"""
|
||||||
|
@ -386,7 +386,7 @@ class AddPlayerCommand(Command):
|
||||||
except IndexError:
|
except IndexError:
|
||||||
await msg.channel.send("Three lines, remember? Command, then team, then name.")
|
await msg.channel.send("Three lines, remember? Command, then team, then name.")
|
||||||
|
|
||||||
class DeletePlayerCommand(Command):
|
class RemovePlayerCommand(Command):
|
||||||
name = "removeplayer"
|
name = "removeplayer"
|
||||||
template = """m;removeplayer
|
template = """m;removeplayer
|
||||||
[team name]
|
[team name]
|
||||||
|
@ -482,7 +482,7 @@ commands = [
|
||||||
SwapPlayerCommand(),
|
SwapPlayerCommand(),
|
||||||
MovePlayerCommand(),
|
MovePlayerCommand(),
|
||||||
AddPlayerCommand(),
|
AddPlayerCommand(),
|
||||||
DeletePlayerCommand(),
|
RemovePlayerCommand(),
|
||||||
DeleteTeamCommand(),
|
DeleteTeamCommand(),
|
||||||
ShowTeamCommand(),
|
ShowTeamCommand(),
|
||||||
ShowAllTeamsCommand(),
|
ShowAllTeamsCommand(),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user