Skip to content
This repository has been archived by the owner on Mar 12, 2019. It is now read-only.

Commit

Permalink
Update all the other plugins to return their respective Help strings
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinpinto committed Sep 20, 2015
1 parent 8607bb2 commit ed5a967
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charlesbot/plugins/broadcast_message.py
Expand Up @@ -32,6 +32,9 @@ def seed_initial_data(self): # pragma: no cover
loop.create_task(self.seed_channel_membership())
loop.create_task(self.seed_group_membership())

def get_help_message(self): # pragma: no cover
return "!wall <msg> - Broadcast a message to all channels I'm a part of" # NOQA

def log_room_membership(self):
self.log.info("Currently in: %s"
% ", ".join(sorted(self.room_membership.values())))
Expand Down
3 changes: 3 additions & 0 deletions charlesbot/plugins/jira/jira.py
Expand Up @@ -20,6 +20,9 @@ def load_config(self): # pragma: no cover
config_dict = configuration.get()
self.base_url = config_dict['jira']['base_url']

def get_help_message(self): # pragma: no cover
return ""

@asyncio.coroutine
def process_message(self, message):
if not type(message) is SlackMessage:
Expand Down
3 changes: 3 additions & 0 deletions charlesbot/plugins/pagerduty/pagerduty.py
Expand Up @@ -23,6 +23,9 @@ def load_config(self): # pragma: no cover
self.token = config_dict['pagerduty']['token']
self.subdomain = config_dict['pagerduty']['subdomain']

def get_help_message(self): # pragma: no cover
return "!oncall - Find out who's on-call right now"

@asyncio.coroutine
def process_message(self, message):
if not type(message) is SlackMessage:
Expand Down

0 comments on commit ed5a967

Please sign in to comment.