8ball discord js

Solutions on MaxInterview for 8ball discord js by the best coders in the world

showing results for - "8ball discord js"
Fabio
24 May 2016
1const config = require("../../config")
2const { ownerID } = require('../../owner.json') 
3const ball = require("8ball.js");
4
5// Creating an array with responses.
6const Responses = ["Response1", "Response2", "Response3", "Response4"];
7
8
9
10module.exports = {
11    config: {
12      name: "8Ball",
13      description: "Send some wired stuff",
14      aliases: ['8ball']
15    },
16    run: async(bot, message, args) => {{
17        message.channel.send(Responses[Math.floor(Math.random() * Responses.length)]);
18    }
19}};
queries leading to this page
8ball discord js8ball discord js