Skip to content

Commit

Permalink
Changed usage description for '/ev' command
Browse files Browse the repository at this point in the history
  • Loading branch information
Endogen committed May 22, 2019
1 parent 709ea78 commit 899b8af
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions opencryptobot/plugins/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@ def get_action(self, bot, update, args):
update.message.reply_text(text=msg, parse_mode=ParseMode.MARKDOWN)

def get_usage(self):
return f"`/{self.get_cmds()[0]} (country_code=DE|US|...) " \
f"(type=Event|Conference|Meetup) (limit=<max # of events>) " \
f"(from_date=<date>) (to_date=<date>)`"
return f"`/{self.get_cmds()[0]} (limit=<# of events>) (country_code=DE|US|...) " \
f"(type=Event|Conference|Meetup) (from_date=<date>) (to_date=<date>)`"

def get_description(self):
return "Show crypto events"
Expand Down

0 comments on commit 899b8af

Please sign in to comment.