Sha256: c172e50f6bfba3d6a557c3a00d8425aaddf1c9f9156406d5c2ce84a153e97ec9
Contents?: true
Size: 579 Bytes
Versions: 1
Compression:
Stored size: 579 Bytes
Contents
# # Simple Mad Chatter Extensions # # You can add as many extensions as you want in this file using the # simple extension syntax. For more complicated extensions, add your # classes to the extensions directory. # # Example: # # on_message /hey andrew: (.+)/ do |regex_capture| # send_status_message 'Someone is talking to andrew' # end # on_message %r{/youtube http://youtu.be/(.*)} do |youtube_id| send_message "<iframe width='560' height='315' src='http://www.youtube.com/embed/#{youtube_id}' frameborder='0' allowfullscreen></iframe>" stop_message_handling end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mad_chatter-0.2.0 | templates/extensions.rb |