lib/waylon/slack/message.rb
# The unescaped contents of the Message
# @return [String]
The unescaped contents of the Message
The unescaped contents of the Message
def text
        me = User.whoami
        reg = /(,\s+)?\s*@#{me.id},?\s*/
        ::Slack::Messages::Formatting.unescape(data["text"]).gsub(reg, "")
      end
def text me = User . whoami reg = / (, \s +)? \s *@ #{ me . id } ,? \s * / :: Slack :: Messages :: Formatting . unescape ( data [ "text" ] ) . gsub ( reg , "" ) end
The unescaped contents of the Message
The unescaped contents of the Message
None
String