Browse Source

Add readme info for location command

Change-Id: Idc9c7ed8c766dc3357ceef6931abba6b774531b6
changes/53/502853/3
Sean Dague 2 years ago
parent
commit
8ca7898ebc
2 changed files with 3 additions and 1 deletions
  1. +1
    -0
      README.rst
  2. +2
    -1
      ptgbot/bot.py

+ 1
- 0
README.rst View File

@@ -48,6 +48,7 @@ Example::
#swift next at 3pm we plan to cover cold storage features
...
#oslo now discussing oslo.config drivers
#oslo location Level B, Ballroom A
#oslo color #42f4c5
#oslo next after lunch we plan to discuss auto-generating config reference docs



+ 2
- 1
ptgbot/bot.py View File

@@ -90,7 +90,8 @@ class PTGBot(irc.bot.SingleServerIRCBot):

def usage(self, channel):
self.send(channel,
"Format is '#ROOMNAME [ now ... | next ... | clean ]'")
"Format is '#ROOMNAME [ now ... | next ... "
"| location ... | clean ]'")

def send_room_list(self, channel):
rooms = self.data.list_rooms()


Loading…
Cancel
Save