Git Product home page Git Product logo

nerdbier-b0t's Introduction

Build Status Distraction Coverage

||3RB13RB07

A Simpleton Telegram Bot for unprofessionals done wrong.

Made with tears in Taka Tuka Land.

N0085

  • https://core.telegram.org/bots

    1. How do I create a bot?

    There's aโ€ฆ bot for that. Just talk to BotFather and follow a few simple steps. Once you've created a bot and received your authorization token, head down to the Bot API manual to see what you can teach your bot to do.

1||$74LL4710||

"engines": {
    "node": ">=6.2.0"
},
$ npm install
$ export BOT_TOKEN={TOKEN}
$ npm start

70d05

  • Implement Alien Intelligence

nerdbier-b0t's People

Contributors

ge-o avatar m0ppers avatar madflow avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

m0ppers ge-o

nerdbier-b0t's Issues

err0r

@matthiaskurte

app.hears(/^#\d{2,5}bv/, ctx) => {
    let msg = ctx.message.text;
    let count = parseInt(msg.substr(1, (msg.lastIndexOf('bv')-1)));
    let replyWith = '';
    for(i=0; i<msg; i++) {
        replyWith += '๐Ÿบ';
    }
    ctx.reply(replyWith);
}

->

app.hears(/^#\d{2,5}bv/, (ctx) => {
    let msg = ctx.message.text;
    let count = parseInt(msg.substr(1, (msg.lastIndexOf('bv')-1)));
    let replyWith = '';
    for(i=0; i<msg; i++) {
        replyWith += '๐Ÿบ';
    }
    ctx.reply(replyWith);
});

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.