From b9f70548f535581051f32584003393837924484a Mon Sep 17 00:00:00 2001 From: connorhsm Date: Sat, 4 Dec 2021 17:14:10 +1100 Subject: [PATCH] Town idea command --- commands/townidea.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 commands/townidea.js diff --git a/commands/townidea.js b/commands/townidea.js new file mode 100644 index 0000000..9d04a90 --- /dev/null +++ b/commands/townidea.js @@ -0,0 +1,11 @@ +const { SlashCommandBuilder } = require('@discordjs/builders'); + +module.exports = { + data: new SlashCommandBuilder() + .setName('townidea') + .setDescription('Need an idea on what to build or do next?'), + async execute(interaction) { + const ideas = ["Every town needs a bakery!", "Do you have a warm nursery with clothes for babies?", "A fireplace room is a lovely addition to a house!", "A tavern with a distillery out back would be perfect for storing your beer and wine!", "Try to capture an animal from far away and make a petting zoo! (safety from bites not guranteed)", "I love the look of a blacksmith!", "How about a sewing room or a tailors cottage?", "An airport so you can accept visitors from far away!", "Fishing huts and docks look wonderful on a lake or sea!", "Orchards are so pretty!", "A hospital full of medical supplies would be useful!"]; + return interaction.reply(Math.floor(Math.random() * ideas.length)); + }, +}; \ No newline at end of file