forked from embee/woomy
		
	do not hardcode 8ball responses
This commit is contained in:
		
							parent
							
								
									2f5534524d
								
							
						
					
					
						commit
						8373194feb
					
				
					 2 changed files with 15 additions and 12 deletions
				
			
		
							
								
								
									
										14
									
								
								assets/json/8ball.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								assets/json/8ball.json
									
										
									
									
									
										Normal 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."
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -17,19 +17,8 @@ exports.help = {
 | 
				
			||||||
  parameters: '`question` - the question you want to ask'
 | 
					  parameters: '`question` - the question you want to ask'
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const responses = require('../assets/json/8ball.json').responses
 | 
				
			||||||
exports.run = async (client, message, args, level, data) => {
 | 
					exports.run = async (client, message, args, level, data) => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // Finish later
 | 
					  // 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.'
 | 
					 | 
				
			||||||
  ]
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue