This file contains hidden or 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
(function($) { | |
$.fn.ಠ_ಠ = $.fn.ಥ_ಥ = $.fn.ಠ益ಠ = $.fn.ಥ益ಥ = $.fn.ಠ_ರೃ = $.fn.ಠoಠ = $.fn.ಠxಠ = $.fn.囧 = function() { | |
return this; | |
}; | |
})(jQuery); |
This file contains hidden or 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
// jQuery API | |
j.watch_for( /^\?([^#@]+)(?:\s*#([1-9]))?(?:\s*@\s*([-\[\]|_\w]+))?$/, function( message ) { | |
// Return if botty is present | |
if ( message.source.clients.indexOf( 'bot-t' ) >= 0 || message.source.clients.indexOf( 'bot-t1' ) >= 0 ) | |
return | |
var splat = message.text[ 0 ].split( ' ' ) | |
, s = splat[ 0 ].replace( '?', '' ) | |
, to = ( splat[ 1 ] === '@' && splat[ 2 ] && splat.length === 3 ) ? splat[ 2 ] : '' |
NewerOlder