chore(makeprompt.py): add debug print statement to get_guild_data function

This commit is contained in:
Paillat
2023-05-05 13:39:58 +02:00
parent 788827ab48
commit f6b67c7913

View File

@@ -68,7 +68,8 @@ def get_guild_data(message):
try: try:
curs_premium.execute( curs_premium.execute(
"SELECT * FROM data WHERE guild_id = ?", (guid,) "SELECT * FROM data WHERE guild_id = ?", (guid,)
) # get the data of the guild )
print("GUID: " + str(guid))
premium = curs_premium.fetchone()[2] premium = curs_premium.fetchone()[2]
except Exception as e: except Exception as e:
premium = 0 premium = 0