Skip to content

Commit

Permalink
Added more information regarding the weather command for the help sec…
Browse files Browse the repository at this point in the history
…tion. aka how to use it
  • Loading branch information
bolivierjr committed Feb 14, 2021
1 parent 299bfba commit d3787df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ def weather(
optlist: List[Tuple[str, bool]],
text: str,
) -> None:
"""- optional <location>
Calls the weather.
"""- optional <location> OR [--user] <username>
Calls the current weather given an optional arg .e.g. .weather 70119 -
If you leave out the location, it will try to use the user's set location that is saved -
You can find another user's weather by using the --user flag. e.g. .weather --user Chad
"""
lookup_user: bool = False
for opt, _ in optlist:
Expand Down

0 comments on commit d3787df

Please sign in to comment.