From 15b08417938409e86b333a9f3927d7b52c4532b3 Mon Sep 17 00:00:00 2001 From: riazufila <46749569+riazufila@users.noreply.github.com> Date: Sun, 9 May 2021 08:57:31 +0800 Subject: [PATCH 1/2] Fixed duplicate store spent gems --- helpers/database.py | 1 - 1 file changed, 1 deletion(-) diff --git a/helpers/database.py b/helpers/database.py index e3dfc9a..1924b29 100644 --- a/helpers/database.py +++ b/helpers/database.py @@ -327,7 +327,6 @@ def spend_gems(self, guardian_id, gems): data = [balance_gems, guardian_id] self.cursor.execute(query, data) self.connection.commit() - self.store_spent_gems(guardian_id, gems) return True From afd19a64bc26f69915f5af3be19d15b692cd4548 Mon Sep 17 00:00:00 2001 From: riazufila <46749569+riazufila@users.noreply.github.com> Date: Sun, 9 May 2021 08:58:58 +0800 Subject: [PATCH 2/2] Updated version info --- cogs/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/bot.py b/cogs/bot.py index 0069e16..4482781 100644 --- a/cogs/bot.py +++ b/cogs/bot.py @@ -187,7 +187,7 @@ async def version(self, ctx): db_ailie.disconnect() # Change upon version update - version = "1.5.1" + version = "1.5.2" # Mimic loading animation msg = await ctx.send(