fixing the names of decide
This commit is contained in:
parent
460a2e7a1b
commit
c15bccc4e3
@ -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"])
|
@ -3,7 +3,7 @@ import sys
|
||||
import requests
|
||||
import os
|
||||
|
||||
import decide_method
|
||||
import decide
|
||||
import eight_ball
|
||||
import define_word
|
||||
import help_methods
|
||||
|
Loading…
x
Reference in New Issue
Block a user