Skip to content

Commit

Permalink
fix: remove en3 language from akinator
Browse files Browse the repository at this point in the history
  • Loading branch information
srevinsaju committed Sep 19, 2021
1 parent 55813b5 commit de7678e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions sugaroid/brain/aki.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,7 @@ def __init__(self, chatbot: SugaroidBot):
try:
self.game_instance = self.aki.start_game("en")
except (AkiServerDown, AkiTechnicalError, json.decoder.JSONDecodeError):
try:
self.game_instance = self.aki.start_game("en3")
except (AkiServerDown, AkiTechnicalError, json.decoder.JSONDecodeError):
self.game_instance = None
self.game_instance = None

def start_game(self):
# We are about to start the game. Lets send a fascinating entry
Expand Down

0 comments on commit de7678e

Please sign in to comment.