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
|
||||
|
||||
"""Translation module"""
|
||||
|
||||
import http.client
|
||||
import re
|
||||
import socket
|
||||
|
|
@ -30,10 +32,6 @@ def load(context):
|
|||
add_hook("cmd_hook", Hook(cmd_translate, "translate"))
|
||||
|
||||
|
||||
def help_tiny():
|
||||
"""Line inserted in the response to the command !help"""
|
||||
return "Translation module"
|
||||
|
||||
def help_full():
|
||||
return "!translate [lang] <term>[ <term>[...]]: Found translation of <term> from/to english to/from <lang>. Data © WordReference.com"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue