From c9a6e7f40f17d6f3652611ca704cddfb4323e298 Mon Sep 17 00:00:00 2001 From: Avanindra <73274800+Avanindra525@users.noreply.github.com> Date: Sat, 30 Sep 2023 19:16:49 +0530 Subject: [PATCH] Update chat_functions.py --- chat_functions.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/chat_functions.py b/chat_functions.py index 184b9d6..b0faa2b 100644 --- a/chat_functions.py +++ b/chat_functions.py @@ -2,6 +2,13 @@ import requests +def total_donations(): +donations = { +"donations": "1000" +} +# catch errors +return json.dumps(donations) + def donations_list(month='', year=''): #fetch data from api