Git Product home page Git Product logo

denoindiabot's Introduction

DenoIndiaBot

Official Bot for Deno India Community on Telegram

Telegram Bot Setup Guide

Install Deno

Fork and clone this repository

$ git clone https://github.com/YOUR-GITHUB-USERNAME/DenoIndiaBot
  • Having cloned the copy to your local machine, enter into the directory using the cd command.
$ cd DenoIndiaBot
  • Great, you are now present in the source code of the project. You can take a look at the contents of the project using the ls command.
$ ls

Get the TELEGRAM API Token

  • Ping Botfather on Telegram and make your instance of ๐Ÿค– bot by selecting /newbot from the options provided.
  • Copy the TELEGRAM_TOKEN provided by Botfather.
  • Run export BOT_TOKEN=<TELEGRAM_TOKEN>

Running the bot

Make sure you have followed all the above steps and are in the DenoIndiaBot directory. Execute the following command

$ deno run --allow-net --allow-env mod.ts --port=${PORT}

The bot would be running at the username provided by you on telegram. ๐Ÿš€

denoindiabot's People

Contributors

daemon1024 avatar humancalico avatar

Stargazers

 avatar

Watchers

 avatar

denoindiabot's Issues

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.