Giter Club home page Giter Club logo

globus-slack-bot's Introduction

Ruby Slack Bot Project- Globus-bot

This is a slack bot project created with ruby. I have created a slack ruby bot and called it 'globus-bot'. This bot is for showing capitals for every country. It can also check for a country's population

scr

Built With

  • Ruby
  • dotenv gem
  • rack-test
  • puma
  • celluloid-io
  • restcountry gem
  • slack-ruby-bot gem

Video Explanation

Here is the video explanation of this project.

Prerequisities

To get this project set up on your local machine, follow these simple steps:

Installation

  1. Open Terminal.
  2. Navigate to your desired location to download the contents of this repository.
  3. Copy and paste the following code into the Terminal: git clone https://github.com/MkrtichSargsyan/globus-slack-bot
  4. Run cd globus-slack-bot.
  5. Run bundle install to get the necessary gems.
  6. Create a new slack workspace and give it a name
  7. Open bot integration link, and choose your created workspace from the top right corner, give a username for your bot and click on Add bot integration button.
  8. Copy the given token, also you can change the bot username and give an avatar to your bot.
  9. Click on Save Integration button.
  10. Create .env file in your project folder, copy your TOKEN to that .env file and paste it as SLACK_API_TOKEN = your-token-here
  11. Run rackup from your terminal window to start running the project.
  12. Open the Slack and go to workspace page. Invite your bot to your page.To see available commands ask for @your_bot help.
  13. Enjoy!

List of available commands:

@your_bot help Shows information about bot commands
@your_bot countries Shows a list of all available countries
@your_bot <country name> Shows the capital of any particular country
@your_bot <country name> population Shows the population of any particular country

Author

๐Ÿ‘ค Mkrtich Sargsyan

Show your support

Give a โญ๏ธ if you like this project!

๐Ÿ“ License

This project is MIT licensed.

globus-slack-bot's People

Contributors

mkrtichsargsyan avatar

Stargazers

Nikolas E avatar Abdullah Numan avatar Lamia Hemayet Sristy avatar Sajjad Ahmad avatar  avatar Mauricio Robayo avatar Carlos Veiga avatar Guillain bisimwa avatar

Watchers

James Cloos avatar  avatar

globus-slack-bot'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.