This commit is contained in:
zakt0210
2017-12-06 13:36:26 -05:00
parent 539425ba81
commit 604c71c02e
2 changed files with 121 additions and 0 deletions
+104
View File
@@ -0,0 +1,104 @@
[
"Apple",
"Apricot",
"Avacado",
"Banana",
"Bilberry",
"Blackberry",
"Blackcurrant",
"Blueberry",
"Boysenberry",
"Crab Apples",
"Currant",
"Cherry",
"Cherimoya",
"Chico Fruit",
"Cloudberry",
"Coconut",
"Cranberry",
"Cucumber",
"Custard apple",
"Damson",
"Date",
"Dragonfruit",
"Durian",
"Elderberry",
"Feijoa",
"Fig",
"Goji berry",
"Gooseberry",
"Grape",
"Raisin",
"Grapefruit",
"Guava",
"Honeyberry",
"Huckleberry",
"Jabuticaba",
"Jackfruit",
"Jambul",
"Jujube",
"Juniper berry",
"Kiwano",
"Kiwifruit",
"Kumquat",
"Lemon",
"Lime",
"Loquat",
"Longan",
"Lychee",
"Mango",
"Mangosteen",
"Marionberry",
"Melon",
"Cantaloupe",
"Honeydew",
"Watermelon",
"Miracle fruit",
"Mulberry",
"Nectarine",
"Nance",
"Olive",
"Orange",
"Blood orange",
"Clementine",
"Mandarine",
"Tangerine",
"Papaya",
"Passionfruit",
"Peach",
"Pear",
"Persimmon",
"Plantain",
"Plum",
"Prune (dried plum)",
"Pineapple",
"Plumcot (or Pluot)",
"Pomegranate",
"Pomelo",
"Purple mangosteen",
"Quince",
"Raspberry",
"Salmonberry",
"Rambutan",
"Redcurrant",
"Salal berry",
"Salak",
"Satsuma",
"Soursop",
"Star fruit",
"Solanum quitoense",
"Strawberry",
"Tamarillo",
"Tamarind",
"Ugli fruit",
"Yuzu",
"Chili Pepper",
"Corn Kernel",
"Eggplant",
"Pea",
"Squash",
"Sunflower Seed",
"Tomato",
"Pant",
"Delta's Mystery Fruit"
]
+17
View File
@@ -0,0 +1,17 @@
const { Command } = require('discord.js-commando');
const fruits = require('../../assets/json/fruit');
module.exports = class FruitCommand extends Command {
constructor(client) {
super(client, {
name: 'fruit',
group: 'random',
memberName: 'fruit',
description: 'Responds with a random fruit.'
});
}
run(msg) {
return msg.say(fruits[Math.floor(Math.random() * fruits.length)]);
}
};