From f6b67c79137226d62cae1922866b45ac9d29b50f Mon Sep 17 00:00:00 2001 From: Paillat Date: Fri, 5 May 2023 13:39:58 +0200 Subject: [PATCH] chore(makeprompt.py): add debug print statement to get_guild_data function --- code/makeprompt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/makeprompt.py b/code/makeprompt.py index 4da0fb8..9afc6fb 100644 --- a/code/makeprompt.py +++ b/code/makeprompt.py @@ -68,7 +68,8 @@ def get_guild_data(message): try: curs_premium.execute( "SELECT * FROM data WHERE guild_id = ?", (guid,) - ) # get the data of the guild + ) + print("GUID: " + str(guid)) premium = curs_premium.fetchone()[2] except Exception as e: premium = 0