Skip to content

Commit

Permalink
chore(parser): change weather variable description and example
Browse files Browse the repository at this point in the history
  • Loading branch information
Satont committed Dec 15, 2023
1 parent 64459de commit 7ba516a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/parser/internal/variables/weather/weather.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ type weatherResponse struct {

var Weather = &types.Variable{
Name: "weather",
Description: lo.ToPtr("Get weather from OpenWeatherMap"),
Example: lo.ToPtr("weather|en"),
Description: lo.ToPtr("Get weather from OpenWeatherMap. If command used with param, then param will be used as city name."),
Example: lo.ToPtr("weather|en|London"),
CommandsOnly: true,
Handler: func(
ctx context.Context, parseCtx *types.VariableParseContext, variableData *types.VariableData,
Expand Down

0 comments on commit 7ba516a

Please sign in to comment.