Note: Some of the links in this README file work better on the documentation site
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.
Installation
npm install @discordia/action-anilist-anime
yarn add @discordia/action-anilist-anime
Usage
Add the query to the existing array of queries that your bot can respond to.
const DiscordiaFramework = require('@discordia/framework');
const actionAniListAnime = require('@discordia/action-anilist-anime');
const actions = [
actionAniListAnime,
];
const myBot = new DiscordiaFramework('DISCORD TOKEN', actions);
myBot.start();