From 8ca7898ebcefb95cd9790f81a893d9a30e5c7bf9 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Mon, 11 Sep 2017 16:30:11 -0600 Subject: [PATCH] Add readme info for location command Change-Id: Idc9c7ed8c766dc3357ceef6931abba6b774531b6 --- README.rst | 1 + ptgbot/bot.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 383f3b0..3507377 100644 --- a/README.rst +++ b/README.rst @@ -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 diff --git a/ptgbot/bot.py b/ptgbot/bot.py index 42ff544..b0bb90b 100644 --- a/ptgbot/bot.py +++ b/ptgbot/bot.py @@ -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()