mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 01:06:19 +00:00
chore(makeprompt.py): add debug print statement to get_guild_data function
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user