Removing the responses variable since im only using it once

This commit is contained in:
Luke Robles 2017-08-12 11:18:44 -07:00
parent b5704ff8a4
commit 59cbdce8cb

View File

@ -41,7 +41,10 @@ def check_8ball(question):
'Reply hazy try again', 'Reply hazy try again',
] ]
responses = positive_responses + negative_responses + noncommittal_responses return random.choice(
return random.choice(responses) positive_responses +
negative_responses +
noncommittal_responses
)
return help_methods.get_help_message('8ball') return help_methods.get_help_message('8ball')