We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd826aa commit ad12c17Copy full SHA for ad12c17
1 file changed
plugins/myfitnesspal.py
@@ -8,8 +8,7 @@
8
scrape_url = "http://www.myfitnesspal.com/food/diary/{}"
9
10
11
-@hook.command('mfp')
12
-@hook.command('myfitnesspal')
+@hook.command('mfp', 'myfitnesspal')
13
def mfp(text, bot):
14
"""<user> - returns macros from the MyFitnessPal food diary of <user>"""
15
request = requests.get(scrape_url.format(text))
0 commit comments