Skip to content

Commit 9098589

Browse files
committed
Update help.py
1 parent fe44d01 commit 9098589

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

willie/modules/help.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,9 @@ def commands(bot, trigger):
8484
@rule('$nick' r'(?i)(ajuda|ayuda|help)(?:[?!]+)?$')
8585
@priority('low')
8686
def help2(bot, trigger):
87-
if not bot.config.project:
87+
if not bot.config.has_option("core", "project"):
8888
project = 'Worldev'
89+
if not bot.config.has_option("core", "project_url")
8990
url = ''
9091
else:
9192
project = bot.config.project

0 commit comments

Comments
 (0)