Sha256: beb17e67e40c2087972232e70280a8b2e12bc071f03148ef961c85beb93d9b2b
Contents?: true
Size: 632 Bytes
Versions: 1
Compression:
Stored size: 632 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 # # this still doesnt work yet. hopefully soon # 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.1 | templates/extensions.rb |