fixing the names of decide

This commit is contained in:
Tyler 2017-08-16 18:53:30 -06:00
parent 460a2e7a1b
commit c15bccc4e3
2 changed files with 1 additions and 8 deletions

View File

@ -2,17 +2,10 @@ import random
import help_methods
def get_decide_choice(decide):
choices = decide.replace('!decide', '' ).lstrip().split(' or ')
if len(choices) > 1:
return random.choice(choices)
elif '' in choices:
return help_methods.get_help_message('decide')
else:
return random.choice(["yes", "no"])

View File

@ -3,7 +3,7 @@ import sys
import requests
import os
import decide_method
import decide
import eight_ball
import define_word
import help_methods