forked from kemonomimi/nyabot
main: Fixed a typo/bug in /marry
This commit is contained in:
parent
c05cffc121
commit
dd576415ae
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -103,7 +103,7 @@ async def marry(
|
||||||
|
|
||||||
# Marriage was accepted, yay :3!
|
# Marriage was accepted, yay :3!
|
||||||
# Now check for polycules
|
# Now check for polycules
|
||||||
if len(askees_marriage) == 0 and len(askers_marriage) == 0:
|
if len(askers_marriage) == 0 and len(askees_marriage) == 0:
|
||||||
# No polycules, just update the records to marry the two :3
|
# No polycules, just update the records to marry the two :3
|
||||||
data = data_manager.get_data()
|
data = data_manager.get_data()
|
||||||
data["marriages"].append([marriage_asker.id, member_to_marry.id])
|
data["marriages"].append([marriage_asker.id, member_to_marry.id])
|
||||||
|
|
Loading…
Reference in a new issue