Skip to content

Commit

Permalink
Merge pull request #287 from JustAnotherArchivist/bot-short-unignore-…
Browse files Browse the repository at this point in the history
…alias

Add !ug as an alias for !unignore
  • Loading branch information
hannahwhy committed Nov 12, 2017
2 parents 04eed2b + 7ff4945 commit 2814e51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bot/command_patterns.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ module CommandPatterns
SET_DELAY = %r{\A\!d(?:elay)?\s+(#{IDENT})\s+(#{DELAY_SPEC})\s+(#{DELAY_SPEC})\s*\Z}
SET_CONCURRENCY = %r{\A\!con(?:currency)?\s+(#{IDENT})\s+(\d{1,2})\s*\Z}
IGNORE = %r{\A!ig(?:nore)?\s+(#{IDENT})\s+([^\s]+)\s*\Z}
UNIGNORE = %r{\A!unig(?:nore)?\s+(#{IDENT})\s+([^\s]+)\s*\Z}
UNIGNORE = %r{\A!(?:ug|unig(?:nore)?)\s+(#{IDENT})\s+([^\s]+)\s*\Z}
WHEREIS = %r{\A!w(?:hereis)?\s+(#{IDENT})\s*\Z}
end
2 changes: 1 addition & 1 deletion doc/commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ Examples
unignore
========

``!unignore IDENT PATTERN``, ``!unig IDENT PATTERN``
``!unignore IDENT PATTERN``, ``!unig IDENT PATTERN``, ``!ug IDENT PATTERN``
remove an ignore pattern::

> !unig 1q2qydhkeh3gfnrcxuf6py70b obnoxious\?foo=\d+
Expand Down

0 comments on commit 2814e51

Please sign in to comment.