Skip to content

monirz/slack-weather-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

slack-weather-bot

A simple slack bot that provides weather info from yahoo API

How to use:

Set an environment variable for your slack token, update the token name here

  	slack_token := os.Getenv("YOUR_SLACK_TOKEN_HERE") 

And you are good to go. Then build and run the bot.go file, create a bot in your slack team Add the bot to a channel, type a message and send it to the channel:

  @bot_name weather location_name

It'll sends message back to the channel containing weather info for the particular location. Let me know if you found something wrong or wanna update it you are welcome.

About

A simple slack for fetching weather info by a location

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages