43 lines
1.6 KiB
JavaScript
43 lines
1.6 KiB
JavaScript
var libFlayer = require("../libFlayer.js");
|
|
|
|
const prefix = process.env.prefix;
|
|
|
|
module.exports = {
|
|
name: 'help',
|
|
description: 'Help',
|
|
execute(message) {
|
|
message.reply(
|
|
`**${prefix}help** - *Lists the available commands*
|
|
|
|
**${prefix}add** - Add a new RSS Source: *${prefix}add http://www.engadget.com/rss.xml*
|
|
**${prefix}alert** - Gets weather alerts for an area: *${prefix}alert TX*
|
|
**${prefix}answer** - Answers for a question above: *${prefix}answer 1*
|
|
|
|
**${prefix}chat** - Queries OpenAI: *${prefix}chat what is a pizza*
|
|
**${prefix}calc** - Do math: *${prefix}calc 2 + 2*
|
|
**${prefix}categories** - Displays Categories: *${prefix}categories*
|
|
**${prefix}code** - Searches for code snippets: *${prefix}code python loop*
|
|
|
|
**${prefix}find** - Searches the RSS Sources: *${prefix}find google*
|
|
**${prefix}food** - Selects a random recipe: *${prefix}food*
|
|
|
|
**${prefix}get** - Retrieves Search By Index: *${prefix}get 25*
|
|
|
|
**${prefix}key** - Testing key from storage: *${prefix}key keyName*
|
|
|
|
**${prefix}npm** - Gets NPM info from repository: *${prefix}npm axios*
|
|
|
|
**${prefix}quote** - Selects a random quote: *${prefix}quote*
|
|
|
|
**${prefix}random** - Selects a random article: *${prefix}random*
|
|
**${prefix}random category** - Selects a random article by category: *${prefix}random sports*
|
|
|
|
**${prefix}search** - Instant Live Search: *${prefix}search salesforce*
|
|
**${prefix}slang** - Urban Dictionary Search: *${prefix}slang slang*
|
|
**${prefix}stock** - AlphaVantage Stock Search: *${prefix}stock IBM*
|
|
|
|
**${prefix}update** - Updates all current RSS Feeds: *${prefix}update*
|
|
`
|
|
);
|
|
}
|
|
}; |