fixed some inconsestencies with new commands

This commit is contained in:
Sakimori 2021-01-03 16:29:56 -05:00
parent 1f1b215d02
commit 222d2f2fba

View File

@ -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(),