stripe-contrib/pagerbot — pull request #14 by rht (2014-12-03 03:39:27+00:00)
Title: Fix parsing the `@` prefix for botname mention

```
>> def strip_name(text, nick=nil) text.gsub(/\A(#{nick}:|@#{nick}) /, '') end
```
Test cases:
```
>> strip_name("pagerbot: make me a sandwich", "pagerbot")
=> "make me a sandwich"
>> strip_name("@pagerbot make me a sandwich", "pagerbot")
=> "make me a sandwich"
>> strip_name("pagerbot make me a sandwich", "pagerbot")
=> "pagerbot make me a sandwich"
```