bots: Add basic metadata with failover, used on running only.

This commit is contained in:
neiljp (Neil Pilgrim) 2017-09-25 12:50:26 -07:00
parent 5681b6e9e2
commit 85f2a9e03d
3 changed files with 20 additions and 0 deletions

View file

@ -18,6 +18,11 @@ class WikipediaHandler(object):
kind of external issue tracker as well.
'''
META = {
'name': 'Wikipedia',
'description': 'Searches Wikipedia for a term and returns the top article.',
}
def usage(self):
return '''
This plugin will allow users to directly search

View file

@ -14,6 +14,11 @@ class XkcdHandler(object):
commands.
'''
META = {
'name': 'XKCD',
'description': 'Fetches comic strips from https://xkcd.com.',
}
def usage(self):
return '''
This plugin allows users to fetch a comic strip provided by