Skip to content

Commit

Permalink
search: genericize sopel.chat irc bot DDG example test
Browse files Browse the repository at this point in the history
We are not backporting the use of VCR to 7.0.x, so this example still
needs to work without it.
  • Loading branch information
dgw committed Jul 25, 2020
1 parent f4a7c5b commit 76adfa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sopel/modules/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def duck_api(query):
# the last example (in source line order) is what .help displays
@example(
'.duck sopel.chat irc bot',
r'https?:\/\/(sopel\.chat\/?|github\.com\/sopel-irc\/sopel)',
r'https?:\/\/.*sopel.*',
re=True,
online=True)
def duck(bot, trigger):
Expand Down

0 comments on commit 76adfa7

Please sign in to comment.