From 88c545b96f54b053208c3f668852608cee14bb74 Mon Sep 17 00:00:00 2001 From: Parker Date: Wed, 26 Jun 2024 18:38:21 -0500 Subject: [PATCH] Change connections to correct folder path --- code/cogs/owner/stats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/cogs/owner/stats.py b/code/cogs/owner/stats.py index c1fac7e..2c40c1d 100644 --- a/code/cogs/owner/stats.py +++ b/code/cogs/owner/stats.py @@ -26,7 +26,7 @@ class Stats(commands.Cog): @tasks.loop(seconds=30) async def dump_count(self): - connection = sqlite3.connect("count.db") + connection = sqlite3.connect("data/count.db") cursor = connection.cursor() for command_name, count in self.bot.temp_command_count.items(): @@ -56,7 +56,7 @@ class Stats(commands.Cog): @commands.dm_only() @commands.is_owner() async def stats(self, ctx: commands.Context): - connection = sqlite3.connect("count.db") + connection = sqlite3.connect("data/count.db") cursor = connection.cursor() # Pull the top 5 commands being run