Skip to content

Commit

Permalink
Refactor start command to support language-specific vulnerability sea…
Browse files Browse the repository at this point in the history
…rch and recent vulnerability display
  • Loading branch information
cleissonbarbosa committed Sep 29, 2024
1 parent 24473f2 commit 197e452
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/commands/entry_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ async def start(update: Update, _context: CallbackContext):

await update.message.reply_text(
"Welcome to the Exploits and Security Notifications Bot!\n"
"Use /exploit <CVE-ID> to search for a vulnerability.\n"
"Use /recent to see recent vulnerabilities."
"Use /exploit <b><CVE-ID></b> <i><LANG><i> to search for a vulnerability.\n"
"Use /recent <i><LANG><i> to see recent vulnerabilities.",
parse_mode=ParseMode.HTML
)


Expand Down

0 comments on commit 197e452

Please sign in to comment.