A action-weather-current rollup of the packages in the Discordia monorepo
Last updated 5 months ago by mfasman95 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @discordia/action-weather-current 
SYNC missed versions from official npm registry.

Note: Some of the links in this README file work better on the documentation site

@discordia/action-weather-current @discordia/action-weather-current

What does this action do?

@discordia/action-current-weather uses the Open Weather API current weather endpoint to get the current weather in a location that the server member specifies. You must provide your own API key when creating an instance of this action.

The request comes in the form @BotName weather {city name} {state} {country code} where {state} and {country code} are each optional.


# install the module using npm
npm install @discordia/action-weather-current

# install the module using yarn
yarn add @discordia/action-weather-current


Add the query to the existing array of queries that your bot can respond to.

const DiscordiaFramework = require('@discordia/framework');
const actionJsonQuery = require('@discordia/action-weather-current');

const actions = [
  // Other actions can go here...
  actionJsonQuery('OpenWeather API Key'),

const myBot = new DiscordiaFramework('DISCORD TOKEN', actions);


Current Tags

  • 1.4.2                                ...           latest (5 months ago)

3 Versions

  • 1.4.2                                ...           5 months ago
  • 1.4.1                                ...           5 months ago
  • 1.3.0                                ...           5 months ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (0)
Dependents (0)

Copyright 2014 - 2016 © taobao.org |