Add display_name and disambiguation_tag for dynamic naming.
This commit is contained in:
parent
a5887d23e2
commit
1822b01086
6 changed files with 75 additions and 50 deletions
|
|
@ -81,6 +81,12 @@ class ChannelCommand(command.Command):
|
|||
return
|
||||
channel.msg(msg, senders=self.caller, online=True)
|
||||
|
||||
def get_extra_info(self, caller, **kwargs):
|
||||
"""
|
||||
Let users know that this exit is for communicating on a channel.
|
||||
"""
|
||||
return _(" (channel)")
|
||||
|
||||
|
||||
class ChannelHandler(object):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue