Skip to content
A Funny Telegram bot in NodeJS for Community Channel.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Modules
static
.eslintrc.json
.gitignore
.prettierrc
CONTRIBUTING.md
LICENSE
Procfile
README.md
index.js
package.json
yarn.lock

README.md

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.
  • /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.
You can’t perform that action at this time.