Add investigate as alias for id for investigator

This commit is contained in:
Ryan Schmidt 2018-04-17 19:39:53 -07:00 committed by GitHub
parent 00291a9a85
commit 35f3fd67cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ from src.events import Event
INVESTIGATED = UserSet()
@command("id", chan=False, pm=True, playing=True, silenced=True, phases=("day",), roles=("investigator",))
@command("id", "investigate", chan=False, pm=True, playing=True, silenced=True, phases=("day",), roles=("investigator",))
def investigate(var, wrapper, message):
"""Investigate two players to determine their relationship to each other."""
if wrapper.source in INVESTIGATED: