Replace help_tiny by module docstring
This commit is contained in:
parent
e5ec487d29
commit
cd7843e16e
24 changed files with 47 additions and 77 deletions
|
@ -1,5 +1,7 @@
|
|||
# coding=utf-8
|
||||
|
||||
"""Repositories, users or issues on GitHub"""
|
||||
|
||||
import json
|
||||
import re
|
||||
import urllib.error
|
||||
|
@ -10,10 +12,6 @@ from hooks import hook
|
|||
|
||||
nemubotversion = 3.4
|
||||
|
||||
def help_tiny ():
|
||||
"""Line inserted in the response to the command !help"""
|
||||
return "The GitHub module"
|
||||
|
||||
def help_full ():
|
||||
return "!github /repo/: Display information about /repo/.\n!github_user /user/: Display information about /user/."
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue