From 7c2813d0515d69eda0789cbb581dab676b2e3a7c Mon Sep 17 00:00:00 2001 From: Zughy <4279489-marco_a@users.noreply.gitlab.com> Date: Thu, 23 Nov 2023 17:08:59 +0100 Subject: [PATCH] Fix documentation --- DOCS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DOCS.md b/DOCS.md index 8e3f9e3..5dcdd90 100644 --- a/DOCS.md +++ b/DOCS.md @@ -16,7 +16,7 @@ Because it's always good to understand the API without surfing the code, innit? ### 1.2 Getters -* `parties.get_inviters(p_name)`: (table) returns a table containing as value the name(s) of the player(s) who invited `p_name` +* `parties.get_inviters(p_name)`: (table) returns a table containing as key the name(s) of the player(s) who invited `p_name` * `parties.get_party_leader(p_name)`: (string) returns the party leader of the party where `p_name` is in, or `nil` if it's not in a party * `parties.get_party_members(p_name, )`: (table) returns a table containing as value the name(s) of the player(s) inside the party where `p_name` is in, or `nil` if it's not in a party. `online_only` is an optional boolean that, when `true`, only returns the members who are currently online