Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    @abhisekp dropped a couple, it's up to you
    tx might be a bad idea if someones from texas :P
    Abhisek Pattnaik
    @abhisekp
    @noncentz it misses somethings. The Ultimate Regex works for everything except codes. Just minor capturing group improvement and (.) and greedy search might cover the codes too.
    also using backreference
    noncentz
    @noncentz
    ah, i had an adventure trying to do that already
    didnt go well
    mostly it u can parse better with js when u need to do that kind of thing
    Abhisek Pattnaik
    @abhisekp
    hmm.. k. then lets ignore codes and just use that ultimate one :P
    noncentz
    @noncentz
    ok
    dont forget to leave out the g flag
    Abhisek Pattnaik
    @abhisekp
    g flag is not needed i suppose
    noncentz
    @noncentz
    should be easier on camperbot
    @abhisekp at this point im convinced u trolled me about not using node
    Abhisek Pattnaik
    @abhisekp
    botstatus
    thanks @noncentz
    GitterBotX
    @GitterBotX
    All bot systems are go!
    botVersion: 0.0.12
    env: GitterBotX
    botname: GitterBotX
    abhisekp sends brownie points to @noncentz :sparkles: :thumbsup: :sparkles:
    :cookie: 452 | @noncentz | http://www.freecodecamp.com/noncentz
    Abhisek Pattnaik
    @abhisekp
    The new thanks is live here
    noncentz
    @noncentz
    thankq for cookies @abhisekp
    GitterBotX
    @GitterBotX
    noncentz sends brownie points to @abhisekp :sparkles: :thumbsup: :sparkles:
    :cookie: 2428 | @abhisekp | http://www.freecodecamp.com/abhisekp
    Abhisek Pattnaik
    @abhisekp
    @noncentz tx
    GitterBotX
    @GitterBotX
    abhisekp sends brownie points to @noncentz :sparkles: :thumbsup: :sparkles:
    :warning: abhisekp already gave noncentz points
    noncentz
    @noncentz
    :+1:
    Abhisek Pattnaik
    @abhisekp
    @SaintPeter i'll tax u if u don't merge the PR :P
    :+1:
    noncentz
    @noncentz
    @abhisekp I love tanks
    Abhisek Pattnaik
    @abhisekp
    :expressionless:
    love me?
    noncentz
    @noncentz
    thankszz maybe?
    GitterBotX
    @GitterBotX
    @abhisekp, :sparkles: :heart_eyes: :sparkles:
    Abhisek Pattnaik
    @abhisekp
    thankss @noncentz
    GitterBotX
    @GitterBotX
    abhisekp sends brownie points to @noncentz :sparkles: :thumbsup: :sparkles:
    :warning: abhisekp already gave noncentz points
    Abhisek Pattnaik
    @abhisekp
    @thanks @noncentz
    perfect :+1:
    @noncentz did u know?
    My first contribution to the camperbot was the thanks regex :D
    That's how i got involved in camperbot <3
    GitterBotX
    @GitterBotX
    abhisekp sends brownie points to @noncentz :sparkles: :thumbsup: :sparkles:
    :warning: abhisekp already gave noncentz points
    Abhisek Pattnaik
    @abhisekp
    :expressionless:
    noncentz
    @noncentz
    that's awesome
    Abhisek Pattnaik
    @abhisekp
    shall I make a PR to ur PR branch? ;)
    noncentz
    @noncentz

    if we drop the love function in BotCommands.js. we can add this to RoomMessage.js and it should work as expected. :smile:

      {
        regex: /[^`@\\]l[ou]ve?\s(u|you|me)?,?\s?(cbot|@?camperbot)\b/i,
        func: function(input) {
            const fromUser = '@' + input.message.model.fromUser.username;
            return fromUser + ', :sparkles: :heart_eyes: :sparkles:';
        },
      }

    probably needs the start fixed as well

    sure @abhisekp
    Abhisek Pattnaik
    @abhisekp
    yep!
    that's exactly what is running here
      {
        regex: /^love/i,
        func: BotCommands.love
      }
    love @noncentz