Skip to content

Commit

Permalink
update help command
Browse files Browse the repository at this point in the history
  • Loading branch information
alpeshvas committed Feb 6, 2022
1 parent dfb0002 commit ea44c2f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/lock-bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ export default class LockBot {
return {
message:
"How to use `/lock`\n\n" +
"To lock a resource in this channel called `thingy`, use `/lock thingy`\n\n" +
"To lock a resource in this channel called `thingy` with optional message, use `/lock thingy locking thingy for xyz use`\n\n" +
"_Example:_\n" +
`> *<@${user}>*: \`/lock dev\`\n` +
`> *Lockbot*: <@${user}> has locked \`dev\` 🔒`,
`> *<@${user}>*: \`/lock dev locking dev for feature testing\`\n` +
`> *Lockbot*: <@${user}> has locked \`dev\` 🔒 \n` +
"> locking dev for feature testing",
destination: "user",
};
}
Expand Down

0 comments on commit ea44c2f

Please sign in to comment.