From d1d7d0e8e392911ada6343ac81020e55a714ed5a Mon Sep 17 00:00:00 2001 From: CMDR furrycat Date: Thu, 3 Nov 2016 15:22:59 +0000 Subject: [PATCH] Yelp on unrecognised command. --- plugin/announcements/announcements.py | 2 ++ plugin/feeds/feeds.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/plugin/announcements/announcements.py b/plugin/announcements/announcements.py index 624dee7..648936c 100644 --- a/plugin/announcements/announcements.py +++ b/plugin/announcements/announcements.py @@ -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): diff --git a/plugin/feeds/feeds.py b/plugin/feeds/feeds.py index 1c5f857..f773d2a 100644 --- a/plugin/feeds/feeds.py +++ b/plugin/feeds/feeds.py @@ -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): -- 2.7.4