Skip to content

Commit

Permalink
Use linkref not name (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbodenmiller authored Apr 17, 2021
1 parent 83bd89e commit a868350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ The `/autolink` commands allow the users to easily edit the configurations.
test \<*linkref*> test-text | Test a link on the text provided | `/autolink test Visa 4356-7891-2345-1111 -- (4111222233334444)`
enable \<*linkref*> | Enables the link | `/autolink enable Visa`
disable \<*linkref*> | Disable the link | `/autolink disable Visa`
add \<*name*> | Creates a new link with the name specified in the command | `/autolink add Visa`
add \<*linkref*> | Creates a new link with the name specified in the command | `/autolink add Visa`
delete \<*linkref*> | Delete the link | `/autolink delete Visa`
set \<*linkref*> \<*field*> *value* | Sets a link's field to a value <br> *Fields* - <br> <ul><li>Template - Sets the Template field</li><li>Pattern - Sets the Pattern field </li> <li> WordMatch - If true uses the [\b word boundaries](https://www.regular-expressions.info/wordboundaries.html) </li> <li> Scope - Sets the Scope field (`team` or `team/channel` or a whitespace-separated list thereof) </li> | <br> `/autolink set Visa Pattern (?P<VISA>(?P<part1>4\d{3})[ -]?(?P<part2>\d{4})[ -]?(?P<part3>\d{4})[ -]?(?P<LastFour>[0-9]{4}))` <br><br> `/autolink set Visa Template VISA XXXX-XXXX-XXXX-$LastFour` <br><br> `/autolink set Visa WordMatch true` <br><br> `/autolink set Visa Scope team/townsquare` <br><br>

Expand Down

0 comments on commit a868350

Please sign in to comment.