Skip to content

this project is a Slack Bot build with Ruby and it will welcome you and tell you about the weather and also give you some inspirational quotes

Notifications You must be signed in to change notification settings

rida-elbahtouri/Slack-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack-bot

this bot will welcome you and tell you about the weather and also give you some inspirational quotes

Built With

  • ruby 2.7.x
  • slack bot ruby
  • openweathermap(api)
  • type.fit(api)

​ ​

Getting Started

First create a new bot on slack Create Bot

  • Give your Bot a username Screenshot
  • Click on add Bot integration
  • Copy and save the Api token Screenshot
  • Click on save integration

Create an openweathermap account

  • Sign up in here​ ​create weather api
  • Click on API keys Screenshot
  • Copy your Key and save it ScreenshotClone the project
# Clone this repository
$ git clone https://github.com/rida-elbahtouri/Slack-bot.git

# Go into the repository
$ cd Slack-bot

Create a .env file

  • add your slack bot and openweather tokens

    SLACK_API_TOKEN = your slack bot token

    weather_api = your oprnweathermap token

Install the gems from Gemfile

$ bundle install

Run the app

$ rackup

How to use the bot

loom video

Auther

👤 Rida Elbahtouri

�� Contributing

​ Contributions, issues and feature requests are welcome! ​

Show your support

​ Give a ⭐️ if you like this project! ​

Acknowledgments

  • Slack
  • Microverse TSE

�� License

​ This project is MIT licensed.

About

this project is a Slack Bot build with Ruby and it will welcome you and tell you about the weather and also give you some inspirational quotes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages