Yelp on unrecognised command.
authorCMDR furrycat <elite@furrycat.net>
Thu, 3 Nov 2016 15:22:59 +0000 (15:22 +0000)
committerCMDR furrycat <elite@furrycat.net>
Thu, 3 Nov 2016 15:22:59 +0000 (15:22 +0000)
plugin/announcements/announcements.py
plugin/feeds/feeds.py

index 624dee7..648936c 100644 (file)
@@ -748,6 +748,8 @@ class Announcements(DBConnection):
       yield from self.create_new_announcement(message, text)
     elif command == 'edit':
       yield from self.edit_existing_announcement(message, text)
+    else:
+      yield from cat.yelp(message.channel)
 
   @asyncio.coroutine
   def announce(self, announcement):
index 1c5f857..f773d2a 100644 (file)
@@ -230,6 +230,8 @@ class Feeds(DBConnection):
       yield from self.create_new_feed(message, args)
     elif command == 'edit':
       yield from self.edit_existing_feed(message, args)
+    else:
+      yield from cat.yelp(message.channel)
 
   @asyncio.coroutine
   def can_manage_feeds(self, author, channel, command, **args):