Git Product home page Git Product logo

odin's Introduction

Odin

GitHub license

A Funny Telegram Bot.

Setup

  • Clone the repository.
  • Run yarn.
  • Make a new file named as .env and write into it the telegram bot token you receive from the BotFather as TELEGRAM_API_TOKEN = XXXXXXXXXXXXXXXXX.
  • Run node index.js.

Commands

  • /start or /heyodin - Lists all the bot commands available
  • /meetups - List all the meetups of open source communities in Delhi NCR.
  • /xkcd - Sends a random xkcd strip.
  • /chuck - Sends a Chuck Norris joke.
  • /chuck <first-name> - Sends a Chuck Norris joke with the firstname as the main character.
  • /commitstrip - Sends a random commitstrip comic
  • /quote - Sends an inspirational quote.
  • /save <note-name> <note-content> - Saves note to the database.
  • /saved - Sends the list of saved notes from the database.
  • /delete <note-name> - Deletes note from the database.

odin's People

Contributors

daemon1024 avatar deepsourcebot avatar dependabot[bot] avatar ivaibhavjindal avatar sidntrivedi012 avatar waterval avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

odin's Issues

Fix Meetup API issue

Meetup changed its API access on August 15, 2019. API keys have been removed and all version 2 integrations need to transition to version 3. Thus, we have to send GET requests to api.meetup.com//events in order to fetch the list of meetups. You can use either axios or request library in order to fetch the meetups and then display them.

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.