From a66a9395e514ae5b7061be912b601bb8511d17fe Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 10 Dec 2022 21:23:13 -0500 Subject: Scoreboard uses server nicknames instead of usernames --- lingo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lingo.cpp') diff --git a/lingo.cpp b/lingo.cpp index 12471d1..3dc8b8f 100644 --- a/lingo.cpp +++ b/lingo.cpp @@ -370,7 +370,7 @@ public: // Forms creation curl::curl_pair username_form(CURLFORM_COPYNAME,"username"); - curl::curl_pair username_cont(CURLFORM_COPYCONTENTS,event.msg.author.username); + curl::curl_pair username_cont(CURLFORM_COPYCONTENTS,event.msg.member.nickname); curl::curl_pair pass_form(CURLFORM_COPYNAME,"user_id"); curl::curl_pair pass_cont(CURLFORM_COPYCONTENTS,user_id_str); curl::curl_pair av_form(CURLFORM_COPYNAME,"avatar_url"); -- cgit 1.4.1