-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
defmodule Hedwig.Responders.SuperFast do | ||
@moduledoc false | ||
|
||
use Hedwig.Responder | ||
|
||
@links [ | ||
"http://media.tenor.co/images/76708e6143b45195612c69086358c138/raw", | ||
"http://graphics.desivalley.com/wp-content/uploads/2010/08/superfast-cat.gif" | ||
] | ||
|
||
@usage """ | ||
that was superfast - Display a fast gif animation. | ||
""" | ||
|
||
hear ~r/that was superfast(!)?/i, msg do | ||
reply msg, random(@links) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters