Just a very basic plugin for announcements.
/me SOME_ACTION
/me Waves
/me Dances
/me Slaps KandanAdmin with a Trout
class Kandan.Plugins.MeAnnounce
@options:
regex: /^/me /
@init: ()->
Kandan.Modifiers.register @options.regex, (message, state) =>
actor = message.user.username || message.user.email
message.content = message.content.replace @options.regex, "#{actor} "
return Kandan.Helpers.Activities.buildFromBaseTemplate(message)