joytou commited on
Commit
22156af
·
1 Parent(s): f1315c3

Fixed get_help function not async

Browse files
Files changed (1) hide show
  1. discord_bot.py +1 -1
discord_bot.py CHANGED
@@ -165,7 +165,7 @@ if "command" in json_data:
165
  exec(generate_bot_command_def(command))
166
 
167
 
168
- def get_help(command_name: str = ''):
169
  def do_with_message(message: dict):
170
  result = ''
171
  result += f'If message is '
 
165
  exec(generate_bot_command_def(command))
166
 
167
 
168
+ async def get_help(command_name: str = ''):
169
  def do_with_message(message: dict):
170
  result = ''
171
  result += f'If message is '