sidntrivedi012 / odin

A Funny Telegram bot in NodeJS for Community Channels.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A Funny Telegram bot in NodeJS for Community Channels.

License:MIT License


Languages

Language:JavaScript 100.0%