Merged in get_help_method (pull request #7)

renaming method
This commit is contained in:
Tyler Hodapp 2017-08-08 23:07:11 +00:00
commit 8b28bb930e
2 changed files with 4 additions and 4 deletions

View File

@ -134,7 +134,7 @@ async def on_message(message):
if len(message.content.split()) > 1:
method = message.content.split()[1]
try:
explanation = help_methods.return_help_message(method)
explanation = help_methods.get_help_message(method)
except KeyError:
await client.send_message(
message.channel,
@ -148,7 +148,7 @@ async def on_message(message):
else:
await client.send_message(
message.channel,
help_methods.return_help_message('show_all')
help_methods.get_help_message('show_all')
)

View File

@ -1,4 +1,4 @@
def return_help_message(method):
def get_help_message(method):
supported_methods = {
'decide': [
'Dragon-bot will help make the tough decisions for you',