This commit is contained in:
spla 2020-11-20 18:33:29 +01:00
pare ca97aa187d
commit 4053a73ad4

Veure arxiu

@ -997,9 +997,9 @@ if __name__ == '__main__':
try:
if chess.Move.from_uci(moving) in board.legal_moves == False:
if chess.Move.from_uci(moving) not in board.legal_moves:
toot_text = "@"+username + ' moviment il·legal!' + '\n'
toot_text = "@"+username + ": " + moving + " és un moviment il·legal. Torna a tirar." + "\n"
mastodon.status_post(toot_text, in_reply_to_id=status_id,visibility=visibility)