Rename display_name and improve docstrings.
This commit is contained in:
parent
1822b01086
commit
462b73b626
5 changed files with 59 additions and 26 deletions
|
|
@ -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)")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue