1
0
Fork 0
mirror of https://gitlab.com/oloturia/damastodon.git synced 2025-01-06 21:47:15 +01:00

trying to fix a bug

This commit is contained in:
oloturia 2021-10-29 15:22:30 +02:00
parent 9a2f896d95
commit 5c7fc6f961

View file

@ -31,7 +31,7 @@ def check_message(notification):
mastodon.status_post("Hello @"+account+" \nchallenge an user by writing to me\nCHALL <USERNAME>\nEx. \"CHALL @someone@mastdn.inst.wxyz\"\nThe challenger takes WHITE and begins the match.\nFor movements and jumps, write the coords separated by spaces.\nEx. \"A4 B5\" (normal movement) or \"A4 C6 D8\" (double jump)\nQUIT ends the match.\nCommands are NOT case sensitive..",visibility="direct")
return
if not os.path.exists(save_position+account):
if content[:5].lower() == "sfida":
if content[:5].lower() == "chall":
file_save_white = [sv for sv in saves if account in sv]
file_save_black = [sv for sv in saves if content[:6] in sv]
if len(file_save_white) > 0: