do not hardcode 8ball responses

This commit is contained in:
Lukáš H 2020-04-22 17:53:12 +02:00
parent 2f5534524d
commit 8373194feb
No known key found for this signature in database
GPG key ID: E07D6630DBC17195
2 changed files with 15 additions and 12 deletions

14
assets/json/8ball.json Normal file
View file

@ -0,0 +1,14 @@
{
"responses": [
"No darndested clue.",
"¯\\_(ツ)_/¯",
"Stupid question. You should be ashamed of yourself for even asking.",
"Yes!",
"Not in your wildest dreams!",
"No chance.",
"Never.",
"Possibly.",
"There\"s a high chance.",
"I\"d rather not say."
]
}

View file

@ -17,19 +17,8 @@ exports.help = {
parameters: '`question` - the question you want to ask'
}
const responses = require('../assets/json/8ball.json').responses
exports.run = async (client, message, args, level, data) => {
// Finish later
const responses = [
'No darndested clue.',
'¯\\_(ツ)_/¯',
'Stupid question. You should be ashamed of yourself for even asking.',
'Yes!',
'Not in your wildest dreams!',
'No chance.',
'Never.',
'Possibly.',
'There\'s a high chance.',
'I\'d rather not say.'
]
}