commit
429a64cb7a
@ -134,7 +134,7 @@ async def on_message(message):
|
|||||||
if len(message.content.split()) > 1:
|
if len(message.content.split()) > 1:
|
||||||
method = message.content.split()[1]
|
method = message.content.split()[1]
|
||||||
try:
|
try:
|
||||||
explanation = help_methods.return_help_message(method)
|
explanation = help_methods.get_help_message(method)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
await client.send_message(
|
await client.send_message(
|
||||||
message.channel,
|
message.channel,
|
||||||
@ -148,7 +148,7 @@ async def on_message(message):
|
|||||||
else:
|
else:
|
||||||
await client.send_message(
|
await client.send_message(
|
||||||
message.channel,
|
message.channel,
|
||||||
help_methods.return_help_message('show_all')
|
help_methods.get_help_message('show_all')
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
def return_help_message(method):
|
def get_help_message(method):
|
||||||
supported_methods = {
|
supported_methods = {
|
||||||
'decide': [
|
'decide': [
|
||||||
'Dragon-bot will help make the tough decisions for you',
|
'Dragon-bot will help make the tough decisions for you',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user