Rename display_name and improve docstrings.

This commit is contained in:
Jonathan Piacenti 2015-06-20 16:31:36 -05:00
parent 1822b01086
commit 462b73b626
5 changed files with 59 additions and 26 deletions

View file

@ -83,7 +83,13 @@ class ChannelCommand(command.Command):
def get_extra_info(self, caller, **kwargs):
"""
Let users know that this exit is for communicating on a channel.
Let users know that this command is for communicating on a channel.
Args:
caller (TypedObject): A Character or Player who has entered an ambiguous command.
Returns:
A string with identifying information to disambiguate the object, conventionally with a preceding space.
"""
return _(" (channel)")